xfs: flag as supporting FOP_UNCACHED
authorJens Axboe <axboe@kernel.dk>
Fri, 8 Nov 2024 16:15:19 +0000 (09:15 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 11 Nov 2024 23:35:20 +0000 (16:35 -0700)
commitde9bbff5b4d4a7e10a3c0534b04b6a328f64fdb7
tree411f7876a561d0107312dd8391b0e50426f503e3
parent3444731a1e41a69924c7e41fb69a4f6d32b859af
xfs: flag as supporting FOP_UNCACHED

Read side was already fully supported, for the write side all that's
needed now is calling generic_uncached_write() when uncached writes
have been submitted. With that, enable the use of RWF_UNCACHED with XFS
by flagging support with FOP_UNCACHED.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/xfs/xfs_file.c