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, 1 Dec 2024 22:55:24 +0000 (15:55 -0700)
commit07e715c1f5267edaf8da447bcdcabc0c688b702c
tree274a298bc59cbfe0ce260c92e309289b4942536c
parent696ca24baf6eccf616effb0767dcafbb9c803dba
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