direct-io: Remove unused DIO_SKIP_DIO_COUNT logic
This flag was added byfe0f07d08e
("direct-io: only inc/deci inode->i_dio_count for file systems") as means to optimise the atomic modificaiton of the variable for blockdevices. However with the advent of542ff7bf18
("block: new direct I/O implementation") it became unused. So let's remove it. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:

committed by
Jens Axboe

parent
c8f4c36f81
commit
ce3077ee80
@@ -2976,9 +2976,6 @@ enum {
|
||||
|
||||
/* filesystem does not support filling holes */
|
||||
DIO_SKIP_HOLES = 0x02,
|
||||
|
||||
/* inode/fs/bdev does not need truncate protection */
|
||||
DIO_SKIP_DIO_COUNT = 0x08,
|
||||
};
|
||||
|
||||
void dio_end_io(struct bio *bio);
|
||||
|
Reference in New Issue
Block a user