A bug reported by Robert Munteanu, which btrfsck infinite loops on an
inode with discount file extent.

This patchset includes a fix in printing file extent hole, fix the
infinite loop, and corresponding test case.

BTW, thanks Robert Munteanu a lot for its detailed debug report, makes
it super fast to reproduce the error.

Qu Wenruo (3):
  btrfs-progs: fsck: Print correct file hole
  btrfs-progs: fsck: Fix a infinite loop on discount file extent repair
  btrfs-progs: fsck-tests: Add test case for inode lost all its file    
    extent

 cmds-check.c                                            |  16 +++++++++++++++-
 .../017-missing-all-file-extent/default_case.img.xz     | Bin 0 -> 1104 bytes
 2 files changed, 15 insertions(+), 1 deletion(-)
 create mode 100644 
tests/fsck-tests/017-missing-all-file-extent/default_case.img.xz

-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to