btrfs-progs: Do proper extent item generation repair
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | btrfs-progs: check/lowmem: Repair invalid extent item generationcheck/ | +74 | 0 replies | |
| 2/3 | btrfs-progs: check/original: Repair extent item generationcheck/ | +66 | 0 replies | |
| 3/3 | btrfs-progs: tests/fsck-044: Enable repair test for invalid extent item generationtests/ tests/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] btrfs-progs: Do proper extent item generation repair
Before this patchset, the only way to repair invalid extent item generation is to use --init-extent-tree, which is really a bad idea.
To rebuild the whole extent tree just for one corrupted extent item? I must be insane at that time.
This patch introduces the proper extent item generation repair functionality for both mode, and alter existing test case to also test repair.
Qu Wenruo (3):
btrfs-progs: check/lowmem: Repair invalid extent item generation
btrfs-progs: check/original: Repair extent item generation
btrfs-progs: tests/fsck-044: Enable repair test for invalid extent
item generation
check/main.c | 66 +++++++++++++++++ check/mode-lowmem.c | 74 +++++++++++++++++++ .../.lowmem_repairable | 0 .../test.sh | 19 ----- 4 files changed, 140 insertions(+), 19 deletions(-) create mode 100644 tests/fsck-tests/044-invalid-extent-item-generation/.lowmem_repairable delete mode 100755 tests/fsck-tests/044-invalid-extent-item-generation/test.sh
Signature · 1 line
2.24.1