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
175175 /* File does not contribute to nr_files count */
176176 #define FMODE_NOACCOUNT ((__force fmode_t)0x20000000)
177177
178+/* File supports async buffered reads */
179+#define FMODE_BUF_RASYNC ((__force fmode_t)0x40000000)
180+
178181 /*
179182 * Flag for rw_copy_check_uvector and compat_rw_copy_check_uvector
180183 * that indicates that they should check the contents of the iovec are