Skip to content

btrfs-progs: handle raid56 properly

Qu Wenruo linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs-progs: properly handle degraded raid56 readskernel-lib/bitmap.h kernel-shared/extent_io.c+77 -220 replies
2/2btrfs-progs: fsck-tests: add test case for degraded raid5tests/fsck-tests/060-degraded-check/test.sh+36 -00 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: 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