Re: [PATCH 11/26] 9p: Use alternative invalidation to using launder_folio

2024-04-16 Thread David Howells
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

Re: [PATCH 11/26] 9p: Use alternative invalidation to using launder_folio

2024-04-15 Thread Jeff Layton
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

[PATCH 11/26] 9p: Use alternative invalidation to using launder_folio

2024-03-28 Thread David Howells
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