diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-05-22 09:12:51 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-05-23 08:26:31 -0600 |
commit | a2b740dda6ed730c60665df73d30bcfc4ae4f0a4 (patch) | |
tree | 9aef0b221f67737ec1512b9bc91f392023c32972 | |
parent | 12b9e99ac7b8d5e7956785b66c86b18f439c0308 (diff) |
fs: add FMODE_BUF_RASYNC
If set, this indicates that the file system supports IOCB_WAITQ for
buffered reads.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r-- | include/linux/fs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 82b989695ab9..0ef5f5973b1c 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -175,6 +175,9 @@ typedef int (dio_iodone_t)(struct kiocb *iocb, loff_t offset, /* File does not contribute to nr_files count */ #define FMODE_NOACCOUNT ((__force fmode_t)0x20000000) +/* File supports async buffered reads */ +#define FMODE_BUF_RASYNC ((__force fmode_t)0x40000000) + /* * Flag for rw_copy_check_uvector and compat_rw_copy_check_uvector * that indicates that they should check the contents of the iovec are |