btrfs-progs: check: add repair ability for missing root orphan item
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs-progs: check: add repair ability for missing orphan root itemcheck/ check/ check/ +1 more | +49 | 1 reply | |
| 2/2 | btrfs-progs: fsck-tests: make test case 066 to be repairabletests/ tests/ | +0 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Boris Burkov |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] btrfs-progs: check: add repair ability for missing root orphan item
There is another report of missing root orphan item, although the latest btrfs-progs can detect such corruption, we have no way to fix it.
This makes the affected end users helpless, as the corruption can happen for affected old kernels, and that damage is persistent.
Add the repair ability to save those affected end users.
Qu Wenruo (2):
btrfs-progs: check: add repair ability for missing orphan root item
btrfs-progs: fsck-tests: make test case 066 to be repairable
check/main.c | 5 +++ check/mode-common.c | 33 +++++++++++++++++++ check/mode-common.h | 1 + check/mode-lowmem.c | 13 ++++++-- .../.lowmem_repairable | 0 .../066-missing-root-orphan-item/test.sh | 14 -------- 6 files changed, 49 insertions(+), 17 deletions(-) create mode 100644 tests/fsck-tests/066-missing-root-orphan-item/.lowmem_repairable delete mode 100755 tests/fsck-tests/066-missing-root-orphan-item/test.sh
--
2.51.2