From: "Dongjiang Zhu" <zhudongjiang@fygo.io>
To: <linux-btrfs@vger.kernel.org>
Cc: <johannes.thumshirn@wdc.com>, <naohiro.aota@wdc.com>,
<a2jphilipp@gmail.com>
Subject: [PATCH v5 0/2] btrfs: zoned: fix activation deadlock and zone finishing race
Date: Thu, 3 Dec 2026 18:18:56 +0800 [thread overview]
Message-ID: <cover.1796287795.git.zhudongjiang@fygo.io> (raw)
This series fixes a self-deadlock in allocation-time activation of
non-data block groups and a race between concurrent attempts to
finish the same block group.
It contains patches 3 and 4 from v4. Patch 2 needs further design
work, and patch 1 overlaps with Johannes's work, so those two
patches are deferred.
Changes in v5:
- Split out patches 3 and 4 from v4.
- Add a Fixes tag to the activation-helper removal patch.
v4: https://lore.kernel.org/linux-btrfs/cover.1795600611.git.zhudongjiang@fygo.io/
Dongjiang Zhu (2):
btrfs: zoned: remove obsolete non-data block group activation helper
btrfs: zoned: serialize zone finishing per block group
fs/btrfs/block-group.c | 38 ++++++--------------
fs/btrfs/block-group.h | 1 +
fs/btrfs/zoned.c | 79 +++++++++++++++---------------------------
fs/btrfs/zoned.h | 8 -----
4 files changed, 39 insertions(+), 87 deletions(-)
--
2.39.5
next reply other threads:[~2026-12-03 10:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 10:18 Dongjiang Zhu [this message]
2026-12-03 10:18 ` [PATCH v5 1/2] btrfs: zoned: remove obsolete non-data block group activation helper Dongjiang Zhu
2026-12-03 10:18 ` [PATCH v5 2/2] btrfs: zoned: serialize zone finishing per block group Dongjiang Zhu
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=cover.1796287795.git.zhudongjiang@fygo.io \
--to=zhudongjiang@fygo.io \
--cc=a2jphilipp@gmail.com \
--cc=johannes.thumshirn@wdc.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=naohiro.aota@wdc.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.