History

fs: add FMODE_BUF_RASYNC

If set, this indicates that the file system supports IOCB_WAITQ for buffered reads.

Jens Axboe committed 6 years ago

Commit c2a25ec1 parent 1a0a7851 file · +3 −0Browse files

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/fs.h+3−0
@@ -175,6 +175,9 @@ typedef int (dio_iodone_t)(struct kiocb *iocb, loff_t offset, · 174 unmodified lines
175/* File does not contribute to nr_files count */175/* File does not contribute to nr_files count */
176#define FMODE_NOACCOUNT ((__force fmode_t)0x20000000)176#define FMODE_NOACCOUNT ((__force fmode_t)0x20000000)
177 177
178/* File supports async buffered reads */
179#define FMODE_BUF_RASYNC ((__force fmode_t)0x40000000)
180
178/*181/*
179 * Flag for rw_copy_check_uvector and compat_rw_copy_check_uvector182 * Flag for rw_copy_check_uvector and compat_rw_copy_check_uvector
180 * that indicates that they should check the contents of the iovec are183 * that indicates that they should check the contents of the iovec are