Jeff Layton wrote:
> Shouldn't this include a call to filemap_invalidate_inode? Is just
> removing launder_folio enough to do this?
Good point. netfs_unbuffered_write_iter() calls kiocb_invalidate_pages() -
which uses invalidate_inode_pages2_range() to discard the pagecache. It
should probably
On Thu, 2024-03-28 at 16:34 +, David Howells wrote:
> Use writepages-based flushing invalidation instead of
> invalidate_inode_pages2() and ->launder_folio(). This will allow
> ->launder_folio() to be removed eventually.
>
> Signed-off-by: David Howells
> cc: Eric Van Hensbergen
> cc: Latch
Use writepages-based flushing invalidation instead of
invalidate_inode_pages2() and ->launder_folio(). This will allow
->launder_folio() to be removed eventually.
Signed-off-by: David Howells
cc: Eric Van Hensbergen
cc: Latchesar Ionkov
cc: Dominique Martinet
cc: Christian Schoenebeck
cc: Je