linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] mm, netfs, afs: Truncation fixes
@ 2024-08-20 23:20 David Howells
  2024-08-20 23:20 ` [PATCH 1/4] mm: Fix missing folio invalidation calls during truncation David Howells
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: David Howells @ 2024-08-20 23:20 UTC (permalink / raw)
  To: Christian Brauner
  Cc: David Howells, Pankaj Raghav, Jeff Layton, Matthew Wilcox, netfs,
	linux-afs, linux-cifs, linux-nfs, ceph-devel, v9fs, linux-erofs,
	linux-fsdevel, linux-mm, linux-kernel

Hi Christian,

Here are some fixes for truncation, netfslib and afs that I discovered whilst
trying Pankaj Raghav's minimum folio order patchset:

 (1) Fix truncate to make it honour AS_RELEASE_ALWAYS in a couple of places
     that got missed.

 (2) Fix duplicated editing of a partially invalidated folio in afs's
     post-setattr edit phase.

 (3) Fix netfs_release_folio() to indicate that the folio is busy if the
     folio is dirty (as does iomap).

 (4) Fix the trimming of a folio that contain streaming-write data when
     truncation occurs into or past that folio

The patches can also be found here:

	https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log/?h=netfs-fixes

Thanks,
David

David Howells (4):
  mm: Fix missing folio invalidation calls during truncation
  afs: Fix post-setattr file edit to do truncation correctly
  netfs: Fix netfs_release_folio() to say no if folio dirty
  netfs: Fix trimming of streaming-write folios in netfs_inval_folio()

 fs/afs/inode.c  | 11 +++++++---
 fs/netfs/misc.c | 53 +++++++++++++++++++++++++++++++++++--------------
 mm/truncate.c   |  4 ++--
 3 files changed, 48 insertions(+), 20 deletions(-)



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-08-20 23:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-20 23:20 [PATCH 0/4] mm, netfs, afs: Truncation fixes David Howells
2024-08-20 23:20 ` [PATCH 1/4] mm: Fix missing folio invalidation calls during truncation David Howells
2024-08-20 23:20 ` [PATCH 2/4] afs: Fix post-setattr file edit to do truncation correctly David Howells
2024-08-20 23:20 ` [PATCH 3/4] netfs: Fix netfs_release_folio() to say no if folio dirty David Howells
2024-08-20 23:20 ` [PATCH 4/4] netfs: Fix trimming of streaming-write folios in netfs_inval_folio() David Howells

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox