Skip to content

btrfs-progs: check: add inode invalid transid detect and repair support

Qu Wenruo linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3btrfs-progs: check/lowmem: add inode transid detect and repair supportcheck/mode-lowmem.c+7 -41 reply
2/3btrfs-progs: check/original: add inode transid detect and repair supportcheck/main.c+5 -31 reply
3/3btrfs-progs: tests/fsck: add test image for inode transid repairtests/fsck-tests/043-bad-inode-generation/bad_inode_transid.img.xz+0 -01 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchJosef Bacik
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] btrfs-progs: check: add inode invalid transid detect and repair support

Really nothing interesting here for btrfs-progs, just reusing existing inode generation detect and repair code.

The interesting part is, how a wrongly copied error message delayed us so long to locate a bug.

Qu Wenruo (3):
btrfs-progs: check/lowmem: add inode transid detect and repair support
btrfs-progs: check/original: add inode transid detect and repair
support
btrfs-progs: tests/fsck: add test image for inode transid repair

 check/main.c                                     |   8 +++++---
 check/mode-lowmem.c                              |  11 +++++++----
 .../bad_inode_transid.img.xz                     | Bin 0 -> 1888 bytes
 3 files changed, 12 insertions(+), 7 deletions(-)
 create mode 100644 tests/fsck-tests/043-bad-inode-generation/bad_inode_transid.img.xz
Signature · 1 line
2.28.0