Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Boris Burkov <boris@bur.io>
To: Qu Wenruo <wqu@suse.com>, linux-btrfs@vger.kernel.org
Subject: Re: [PATCH v3 0/3] btrfs: prepare and move async csum generation out of experimental feautres
Date: Thu, 03 Dec 2026 17:12:34 -0800	[thread overview]
Message-ID: <87qzfxyhkt.fsf@bur.io> (raw)
In-Reply-To: <cover.1795770362.git.wqu@suse.com>

Qu Wenruo <wqu@suse.com> writes:

Sweet, looks good to me.
Reviewed-by: Boris Burkov <boris@bur.io>

> [CHANGELOG]
> v3:
> - Rebased to the latest for-next branch
>   Which has all the extra ordered extent IO waiting to address the
>   possible race with fast fsync.
>
> - Update the last patch to show more reasons why the existing metadata
>   csum offloading is not beneficial
>
> v2:
> - Introduce a patch to fix a potential data loss with async direct
>   writes
>   This is an existing bug, not only affecting the async data csum
>   generation. Introduce a dedicated fix for it.
>
> - Introduce a patch to fixx an ASSERT() false alert race
>   Again an existing bug.
>
> For the last iteration, the only remaining concern is the fast sync path
> race with async data csum generation.
>
> That is already fixed by Josef's fixes that added extra ordered extent
> IO wait, so it's no longer a problem.
>
> Now there should be no more blockage for enabling async data csum
> generation.
>
> Qu Wenruo (3):
>   btrfs: fix an ASSERT() race with async csum generation
>   btrfs: make btrfs_fs_info::workers to be a regular workqueue
>   btrfs: move async data csum generation out of experimental features
>
>  fs/btrfs/Kconfig     |   2 -
>  fs/btrfs/bio.c       | 139 +------------------------------------------
>  fs/btrfs/disk-io.c   |  47 ++++++---------
>  fs/btrfs/file-item.c |  15 ++---
>  fs/btrfs/file-item.h |   2 +-
>  fs/btrfs/fs.h        |  17 +-----
>  fs/btrfs/super.c     |   2 +-
>  7 files changed, 32 insertions(+), 192 deletions(-)
>
> -- 
> 2.56.1

      parent reply	other threads:[~2026-12-04  1:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27  9:09 [PATCH v3 0/3] btrfs: prepare and move async csum generation out of experimental feautres Qu Wenruo
2026-11-27  9:09 ` [PATCH v3 1/3] btrfs: fix an ASSERT() race with async csum generation Qu Wenruo
2026-11-27  9:09 ` [PATCH v3 2/3] btrfs: make btrfs_fs_info::workers to be a regular workqueue Qu Wenruo
2026-11-27  9:09 ` [PATCH v3 3/3] btrfs: move async data csum generation out of experimental features Qu Wenruo
2026-12-04  1:12 ` Boris Burkov [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=87qzfxyhkt.fsf@bur.io \
    --to=boris@bur.io \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=wqu@suse.com \
    /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