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>
Sun, 10 Nov 2024 13:51:53 +0000 (06:51 -0700)
commit95e32b439f32e40a9a2e6347a82bdb016e7877f7
treeb7e135d9c0ace260f00b65b098bba382783380ff
parent3f37dd094dfd667ec9bc4355eeebca1f1fd52c18
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