From: David Howells <dhowells@redhat.com>
To: Christian Brauner <christian@brauner.io>
Cc: David Howells <dhowells@redhat.com>,
Pankaj Raghav <p.raghav@samsung.com>,
Jeff Layton <jlayton@kernel.org>,
Matthew Wilcox <willy@infradead.org>,
netfs@lists.linux.dev, linux-afs@lists.infradead.org,
linux-cifs@vger.kernel.org, linux-nfs@vger.kernel.org,
ceph-devel@vger.kernel.org, v9fs@lists.linux.dev,
linux-erofs@lists.ozlabs.org, linux-fsdevel@vger.kernel.org,
linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/4] mm, netfs, afs: Truncation fixes
Date: Wed, 21 Aug 2024 00:20:54 +0100 [thread overview]
Message-ID: <20240820232105.3792638-1-dhowells@redhat.com> (raw)
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(-)
next reply other threads:[~2024-08-20 23:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-20 23:20 David Howells [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240820232105.3792638-1-dhowells@redhat.com \
--to=dhowells@redhat.com \
--cc=ceph-devel@vger.kernel.org \
--cc=christian@brauner.io \
--cc=jlayton@kernel.org \
--cc=linux-afs@lists.infradead.org \
--cc=linux-cifs@vger.kernel.org \
--cc=linux-erofs@lists.ozlabs.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux-nfs@vger.kernel.org \
--cc=netfs@lists.linux.dev \
--cc=p.raghav@samsung.com \
--cc=v9fs@lists.linux.dev \
--cc=willy@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox