linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Christian Brauner <brauner@kernel.org>
To: Joanne Koong <joannelkoong@gmail.com>
Cc: linux-fsdevel@vger.kernel.org, Brian Foster <bfoster@redhat.com>,
	 linux-xfs@vger.kernel.org, linux-mm@kvack.org,
	hch@infradead.org, djwong@kernel.org,  willy@infradead.org
Subject: Re: [PATCH v5 0/7] iomap: zero range folio batch support
Date: Wed, 29 Oct 2025 13:32:04 +0100	[thread overview]
Message-ID: <20251029-entrichten-anrollen-b9eb57a2914f@brauner> (raw)
In-Reply-To: <CAJnrk1Yp-z8U7WjH81Eh3wrvuc5erZ2fUjZZa2urb-OhAe_nig@mail.gmail.com>

On Mon, Oct 20, 2025 at 05:14:07PM -0700, Joanne Koong wrote:
> On Tue, Oct 7, 2025 at 4:12 AM Christian Brauner <brauner@kernel.org> wrote:
> >
> > On Fri, 03 Oct 2025 09:46:34 -0400, Brian Foster wrote:
> > > Only minor changes in v5 to the XFS errortag patch. I've kept the R-b
> > > tags because the fundamental logic is the same, but the errortag
> > > mechanism has been reworked and so that one needed a rebase (which turns
> > > out much simpler). A second look certainly couldn't hurt, but otherwise
> > > the associated fstest still works as expected.
> > >
> > > Note that the force zeroing fstests test has since been merged as
> > > xfs/131. Otherwise I still have some followup patches to this work re:
> > > the ext4 on iomap work, but it would be nice to move this along before
> > > getting too far ahead with that.
> > >
> > > [...]
> >
> > Applied to the vfs-6.19.iomap branch of the vfs/vfs.git tree.
> > Patches in the vfs-6.19.iomap branch should appear in linux-next soon.
> >
> > Please report any outstanding bugs that were missed during review in a
> > new review to the original patch series allowing us to drop it.
> >
> > It's encouraged to provide Acked-bys and Reviewed-bys even though the
> > patch has now been applied. If possible patch trailers will be updated.
> >
> > Note that commit hashes shown below are subject to change due to rebase,
> > trailer updates or similar. If in doubt, please check the listed branch.
> >
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
> > branch: vfs-6.19.iomap
> >
> > [1/7] filemap: add helper to look up dirty folios in a range
> >       https://git.kernel.org/vfs/vfs/c/757f5ca76903
> > [2/7] iomap: remove pos+len BUG_ON() to after folio lookup
> >       https://git.kernel.org/vfs/vfs/c/e027b6ecb710
> > [3/7] iomap: optional zero range dirty folio processing
> >       https://git.kernel.org/vfs/vfs/c/5a9a21cb7706
> 
> Hi Christian,
> 
> Thanks for all your work with managing the vfs iomap branch. I noticed
> for vfs-6.19.iomap, this series was merged after a prior patch in the
> branch that had changed the iomap_iter_advance() interface [1]. As
> such for the merging ordering, I think this 3rd patch needs this minor
> patch-up to be compatible with the change made in [1], if you're able
> to fold this in:
> 
> diff --git a/fs/iomap/buffered-io.c b/fs/iomap/buffered-io.c
> index 72196e5021b1..36ee3290669a 100644
> --- a/fs/iomap/buffered-io.c
> +++ b/fs/iomap/buffered-io.c
> @@ -867,7 +867,8 @@ static int iomap_write_begin(struct iomap_iter *iter,
>         if (folio_pos(folio) > iter->pos) {
>                 len = min_t(u64, folio_pos(folio) - iter->pos,
>                                  iomap_length(iter));
> -               status = iomap_iter_advance(iter, &len);
> +               status = iomap_iter_advance(iter, len);
> +               len = iomap_length(iter);
>                 if (status || !len)
>                         goto out_unlock;

Thank you! Folded as requested!


      reply	other threads:[~2025-10-29 12:32 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-03 13:46 Brian Foster
2025-10-03 13:46 ` [PATCH v5 1/7] filemap: add helper to look up dirty folios in a range Brian Foster
2025-10-03 13:46 ` [PATCH v5 2/7] iomap: remove pos+len BUG_ON() to after folio lookup Brian Foster
2025-10-03 13:46 ` [PATCH v5 3/7] iomap: optional zero range dirty folio processing Brian Foster
2025-10-03 13:46 ` [PATCH v5 4/7] xfs: always trim mapping to requested range for zero range Brian Foster
2025-10-03 13:46 ` [PATCH v5 5/7] xfs: fill dirty folios on zero range of unwritten mappings Brian Foster
2025-12-05  3:01   ` Lai, Yi
2025-12-05 13:57     ` Brian Foster
2025-10-03 13:46 ` [PATCH v5 6/7] iomap: remove old partial eof zeroing optimization Brian Foster
2025-10-03 13:46 ` [PATCH v5 7/7] xfs: error tag to force zeroing on debug kernels Brian Foster
2025-10-07 11:12 ` [PATCH v5 0/7] iomap: zero range folio batch support Christian Brauner
2025-10-21  0:14   ` Joanne Koong
2025-10-29 12:32     ` Christian Brauner [this message]

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=20251029-entrichten-anrollen-b9eb57a2914f@brauner \
    --to=brauner@kernel.org \
    --cc=bfoster@redhat.com \
    --cc=djwong@kernel.org \
    --cc=hch@infradead.org \
    --cc=joannelkoong@gmail.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=linux-xfs@vger.kernel.org \
    --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