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>
Thu, 14 Nov 2024 14:14:46 +0000 (07:14 -0700)
commit137aa90456cb700f6786a1775ed6fc311ed0560a
tree3be1dd876a2f5da823f6079e2818db045e0c97d6
parent7e8ad38ff276708276f0f28147ec3d44a6738097
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