btrfs-progs: add extra points to warn about extra chunk profiles
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs-progs: always check if the fs has multiple profiles after balancecmds/ | +1 | 0 replies | |
| 2/2 | btrfs-progs: warn about multiple profiles after dev-replacecmds/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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