Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH 0/2] btrfs-progs: add extra points to warn about extra chunk profiles
@ 2026-11-19  3:20 Qu Wenruo
  2026-11-19  3:20 ` [PATCH 1/2] btrfs-progs: always check if the fs has multiple profiles after balance Qu Wenruo
  2026-11-19  3:20 ` [PATCH 2/2] btrfs-progs: warn about multiple profiles after dev-replace Qu Wenruo
  0 siblings, 2 replies; 3+ messages in thread
From: Qu Wenruo @ 2026-11-19  3:20 UTC (permalink / raw)
  To: linux-btrfs

This is inspired by a private user report, that after replacing a
missing device from a degraded RAID1 fs, the fs can no longer tolerate
missing the old good device.

It turns out that during dev-replace, a new system chunk is created, and
since dev-replace destination can not be utilized for chunk allocation,
the new system chunk is SINGLE, thus can no longer tolerate missing that
device.

We need a better solution to this long existing SINGLE-chunk problem,
but for now at least warn the user about this for both balance (success
path) and dev-replace.

Qu Wenruo (2):
  btrfs-progs: always check if the fs has multiple profiles after
    balance
  btrfs-progs: warn about multiple profiles after dev-replace

 cmds/balance.c | 1 +
 cmds/replace.c | 5 ++++-
 2 files changed, 5 insertions(+), 1 deletion(-)

--
2.56.0


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

end of thread, other threads:[~2026-11-19  3:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-19  3:20 [PATCH 0/2] btrfs-progs: add extra points to warn about extra chunk profiles Qu Wenruo
2026-11-19  3:20 ` [PATCH 1/2] btrfs-progs: always check if the fs has multiple profiles after balance Qu Wenruo
2026-11-19  3:20 ` [PATCH 2/2] btrfs-progs: warn about multiple profiles after dev-replace Qu Wenruo

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