Re: [PATCH 15/15] xfs: flag as supporting FOP_UNCACHED
From: Christoph Hellwig
Date: Mon Nov 11 2024 - 10:27:59 EST
On Sun, Nov 10, 2024 at 08:28:07AM -0700, Jens Axboe wrote:
> 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.
It also might make sense to default to RWF_UNCACHED for the direct to
buffered I/O fallback for sub-block size writes to reflink files.
Also for the next round you probably want to add the xfs and ext4
lists.