btrfs-progs: check: add repair functionality for
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: check: add repair functionality for orphan dev extentscheck/ check/ check/ +1 more | +90 | 0 replies | |
| 2/2 | btrfs-progs: fsck-tests: a new test case with orphan dev extenttests/ tests/ | +0 | 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: check: add repair functionality for
Currently any orphan device extents will cause kernels to reject the mount.
But on the other hand, btrfs check is unable to repair such problem, so end users may fall into a situation where they are unable to mount the fs.
Add the repair functionality to btrfs check, for both original lowmem modes, and add a new test case for it.
Qu Wenruo (2):
btrfs-progs: check: add repair functionality for orphan dev extents
btrfs-progs: fsck-tests: a new test case with orphan dev extent
check/main.c | 6 +- check/mode-lowmem.c | 7 +- check/repair.c | 78 ++++++++++++++++++ check/repair.h | 1 + .../068-orphan-dev-extent/.lowmem_repairable | 0 .../068-orphan-dev-extent/default.img.xz | Bin 0 -> 1784 bytes 6 files changed, 90 insertions(+), 2 deletions(-) create mode 100644 tests/fsck-tests/068-orphan-dev-extent/.lowmem_repairable create mode 100644 tests/fsck-tests/068-orphan-dev-extent/default.img.xz
--
2.50.1