fs: add RWF_UNCACHED iocb and FOP_UNCACHED file_operations flag
authorJens Axboe <axboe@kernel.dk>
Fri, 8 Nov 2024 16:11:12 +0000 (09:11 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 20 Nov 2024 14:30:16 +0000 (07:30 -0700)
commit90b2608de2354dc3b775f3c5be7cf930cc231d87
tree67f970860a24eb54eb2926c8795deb43b2370de2
parent50ff27b25414104d322141711b233a3b16de2157
fs: add RWF_UNCACHED iocb and FOP_UNCACHED file_operations flag

If a file system supports uncached buffered IO, it may set FOP_UNCACHED
and enable RWF_UNCACHED. If RWF_UNCACHED is attempted without the file
system supporting it, it'll get errored with -EOPNOTSUPP.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/fs.h
include/uapi/linux/fs.h