Skip to content

btrfs-progs: add extra points to warn about extra chunk profiles

Qu Wenruo linux-btrfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs-progs: always check if the fs has multiple profiles after balancecmds/balance.c+1 -00 replies
2/2btrfs-progs: warn about multiple profiles after dev-replacecmds/replace.c+4 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] btrfs-progs: add extra points to warn about extra chunk profiles

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