Re: [PATCH 09/26] mm: Provide a means of invalidation without using launder_folio

From: David Howells
Date: Wed Apr 17 2024 - 05:03:28 EST


Jeff Layton <jlayton@xxxxxxxxxx> wrote:

> I'd have liked to have seen the first caller of this function too.

Looking again at my code, I also need to make netfs_unbuffered_write_iter()
use this function too. I missed it before because that wasn't calling
invalidate_inode_pages2_range() directly, but rather going through
kiocb_invalidate_pages().

So I'll add those changes into this patch to give you a first caller. I also
then need to make filemap_invalidate_inode() take a byte range.

David