Re: [PATCH][RFC] iomap: add a private argument for iomap_file_buffered_write
From: Christoph Hellwig <hch@infradead.org>
Date: 2024-08-27 10:55:20
Also in:
gfs2, linux-fsdevel, linux-xfs
From: Christoph Hellwig <hch@infradead.org>
Date: 2024-08-27 10:55:20
Also in:
gfs2, linux-fsdevel, linux-xfs
On Tue, Aug 27, 2024 at 06:51:36AM -0400, Josef Bacik wrote:
In order to switch fuse over to using iomap for buffered writes we need to be able to have the struct file for the original write, in case we have to read in the page to make it uptodate. Handle this by using the existing private field in the iomap_iter, and add the argument to iomap_file_buffered_write. This will allow us to pass the file in through the iomap buffered write path, and is flexible for any other file systems needs.
No, we need my version of this :) http://git.infradead.org/?p=users/hch/xfs.git;a=commitdiff;h=84e044c2d18b2ba8ca6b8001d7cec54d3c972e89 Looks fine: Reviewed-by: Christoph Hellwig <hch@lst.de>