mbox series

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

Message ID 20200826005233.90063-1-wqu@suse.com (mailing list archive)
Headers show
Series btrfs-progs: check: add inode invalid transid detect and repair support | expand

Message

Qu Wenruo Aug. 26, 2020, 12:52 a.m. UTC
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.

Reported-by: Tyler Richmond <t.d.richmond@gmail.com>

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

Comments

David Sterba Aug. 31, 2020, 3:09 p.m. UTC | #1
On Wed, Aug 26, 2020 at 08:52:30AM +0800, Qu Wenruo wrote:
> 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.
> 
> Reported-by: Tyler Richmond <t.d.richmond@gmail.com>
> 
> 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

Added to devel, thanks.