Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH v5 0/2] btrfs: zoned: fix activation deadlock and zone finishing race
@ 2026-12-03 10:18 Dongjiang Zhu
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Dongjiang Zhu @ 2026-12-03 10:18 UTC (permalink / raw)
  To: linux-btrfs; +Cc: johannes.thumshirn, naohiro.aota, a2jphilipp

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-12-03 10:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 10:18 [PATCH v5 0/2] btrfs: zoned: fix activation deadlock and zone finishing race Dongjiang Zhu
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox