On 11/11/24 8:27 AM, Christoph Hellwig wrote: > 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. It very well may make sense, but that's probably something the fs folks should add after the fact. > Also for the next round you probably want to add the xfs and ext4 > lists. Oh for sure, I deliberately didn't do the ext4/xfs folks just yet as I want to iron out the main bits first. And hopefully get those sorted and acked first, then move on to a separate xfs and ext4 set of patches. I also did btrfs in the most recent version, but that'll be a separate thing too. Just kept it as one big series for now with more limited scope, so folks can actually test this if they want to, without needing multiple series of patches. -- Jens Axboe