btrfs-progs: handle raid56 properly
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs-progs: properly handle degraded raid56 readskernel-lib/ kernel-shared/ | +77 | 0 replies | |
| 2/2 | btrfs-progs: fsck-tests: add test case for degraded raid5tests/ | +36 | 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: handle raid56 properly
There is a bug that "btrfs check" can fail to even open the filesystem.
The root cause is that raid56 read path doesn't even allow any missing device, which is pretty ironic.
This patchset will fix the raid56 read path, and slightly improve the raid56 handling (still not reaching the granularity of kernel yet).
And finally add a test case for it.
Qu Wenruo (2):
btrfs-progs: properly handle degraded raid56 reads
btrfs-progs: fsck-tests: add test case for degraded raid5
kernel-lib/bitmap.h | 45 +++++++++++++++++ kernel-shared/extent_io.c | 54 ++++++++++++--------- tests/fsck-tests/060-degraded-check/test.sh | 36 ++++++++++++++ 3 files changed, 113 insertions(+), 22 deletions(-) create mode 100644 kernel-lib/bitmap.h create mode 100755 tests/fsck-tests/060-degraded-check/test.sh
Signature · 1 line
2.38.1