iomap: make buffered writes work with RWF_UNCACHED
Add iomap buffered write support for RWF_UNCACHED. If RWF_UNCACHED is
set for a write, mark the folios being written with drop_writeback. Then
writeback completion will drop the pages. The write_iter handler simply
kicks off writeback for the pages, and writeback completion will take
care of the rest.
See the similar patch for the generic filemap handling for performance
results, those were in fact done on XFS using this patch.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2 files changed