[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240820232105.3792638-1-dhowells@redhat.com>
Date: Wed, 21 Aug 2024 00:20:54 +0100
From: David Howells <dhowells@...hat.com>
To: Christian Brauner <christian@...uner.io>
Cc: David Howells <dhowells@...hat.com>,
Pankaj Raghav <p.raghav@...sung.com>,
Jeff Layton <jlayton@...nel.org>,
Matthew Wilcox <willy@...radead.org>,
netfs@...ts.linux.dev,
linux-afs@...ts.infradead.org,
linux-cifs@...r.kernel.org,
linux-nfs@...r.kernel.org,
ceph-devel@...r.kernel.org,
v9fs@...ts.linux.dev,
linux-erofs@...ts.ozlabs.org,
linux-fsdevel@...r.kernel.org,
linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/4] mm, netfs, afs: Truncation fixes
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(-)
Powered by blists - more mailing lists