aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-02-23 13:45:29 +0200
committerJens Axboe <axboe@kernel.dk>2018-03-12 10:21:24 -0600
commitce3077ee80d6ac1087c06441f4c63ce5f13ef12c (patch)
treee02b03b77e82ecbc6bdcb31a260bf5c264273e1d /include/linux/fs.h
parentdirect-io: Remove unused DIO_ASYNC_EXTEND flag (diff)
downloadlinux-dev-ce3077ee80d6ac1087c06441f4c63ce5f13ef12c.tar.xz
linux-dev-ce3077ee80d6ac1087c06441f4c63ce5f13ef12c.zip
direct-io: Remove unused DIO_SKIP_DIO_COUNT logic
This flag was added by fe0f07d08ee3 ("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 of 542ff7bf18c6 ("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>
Diffstat (limited to '')
-rw-r--r--include/linux/fs.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 260c233e7375..9bee267209e5 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -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);