[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <552EEECC.90008@fb.com>
Date: Wed, 15 Apr 2015 17:05:48 -0600
From: Jens Axboe <axboe@...com>
To: Al Viro <viro@...IV.linux.org.uk>,
Dave Chinner <david@...morbit.com>
CC: <linux-kernel@...r.kernel.org>, <linux-fsdevel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Christoph Hellwig <hch@....de>,
"Theodore Ts'o" <tytso@....edu>,
"Elliott, Robert (Server Storage)" <elliott@...com>
Subject: Re: [PATCH 1/3] direct-io: only inc/dec inode->i_dio_count for file
systems
On 04/15/2015 04:56 PM, Al Viro wrote:
> On Thu, Apr 16, 2015 at 08:36:20AM +1000, Dave Chinner wrote:
>
>> Bikeshedding: I think this would be better suited to inode_dio_begin()
>> and inode_dio_end() because now we are trying to say "this is where
>> the DIO starts, and this is where it ends". It's not really
>> "reference counting" interface, we're trying to annotate the
>> boundaries of where DIO iis protected against truncate....
>
> *nod*
>
> And while we are at, inode_dio_begin() could be static inline just fine.
Done (rename and docbook), and inode_dio_{begin.end}() made static inlines.
v3 against vfs-next attached.
--
Jens Axboe
View attachment "0001-direct-io-only-inc-dec-inode-i_dio_count-for-file-sy.patch" of type "text/x-patch" (10747 bytes)
Powered by blists - more mailing lists