fs: add FOP_UNCACHED flag
authorJens Axboe <axboe@kernel.dk>
Fri, 8 Nov 2024 16:11:12 +0000 (09:11 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 8 Nov 2024 16:15:07 +0000 (09:15 -0700)
commit04f3971dcb8c3131000a738fff6c4b8f1c534eb9
tree7c061464b38f1ab81e50fd7dfb99dda952d31e44
parent60d51f27f5dea3a66755a1fb2ac58e439bb8ca36
fs: add FOP_UNCACHED 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