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>
Mon, 11 Nov 2024 21:42:02 +0000 (14:42 -0700)
commit31299a9a1b076f7056b3430635e0f8dd243fe503
tree664717c4752fccfbaf023ca0b9d3d77ff5c69a0c
parent0e37360438c7fc1c3603fdb41303495c24ddcd76
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