Re: [PATCH v15 08/17] iomap: Pass the iomap_page into iomap_set_range_uptodate

Christoph Hellwig
2021-07-20T06:59:33Z

On Mon, Jul 19, 2021 at 07:39:52PM +0100, Matthew Wilcox (Oracle) wrote:
> All but one caller already has the iomap_page, and we can avoid getting
> it again.
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
> Reviewed-by: Darrick J. Wong <djwong@kernel.org>

In general reloading it from a single pointer should be faster than
passing an extra argument. What is the rationale here?