Hi David, Please merge this pull request: https://github.com/kdave/btrfs-progs/pull/155
This patch can be fetch from the following branch: https://github.com/adam900710/btrfs-progs/tree/check-next The base commit is: commit 5d64c40240135cc22f4ba2b902bfe20418a599ea (david/devel) Author: David Sterba <dste...@suse.com> Date: Tue Nov 20 11:13:08 2018 +0100 btrfs-progs: docs: fix rendering of exponents in manual pages Reported on IRC that the inode number limit appears to be 264, while the actual value is 2^64. Fix that for the manual page backend by redefining the format. Signed-off-by: David Sterba <dste...@suse.com> This small patchset contains 2 check related functionality: 1) Ability to repair dir item with mismatch hash Both lowmem and original check, along with test case update. 2) Check qgroup limit exceed The patch to deprecate BTRFS_QGROUP_LIMIT_RSV_RFER|EXCL is dropped for this pull request, as it's still uncertain if it's OK or not, and it's very easy to rebase that patch. The patchset passes all selftest with one exception: misc-tests/021-image-multi-devices That test case failure is caused by poorly recovered multi-device btrfs-image. The problem exists from the very beginning, just recent enhanced kernel code will refuse to mount and I'll address it later in another patchset. There is some other check related patches, naming "btrfs-progs: fixes of file extent in original and lowmem check" from Fujitsu, which is still being updated. I'll push them in next update. Thanks, Qu Qu Wenruo (5): btrfs-progs: lowmem check: Add ability to repair dir item with mismatch hash btrfs-progs: original check: Use mismatch_dir_hash_record to record bad dir items btrfs-progs: original check: Add ability to repair dir item with invalid hash btrfs-progs: fsck-tests: Make 026-bad-dir-item-name test case to verify if btrfs-check can also repair it btrfs-progs: qgroup-verify: Check if qgroup limit is exceeded check/main.c | 121 +++++++++++++++++- check/mode-common.c | 51 ++++++++ check/mode-common.h | 5 +- check/mode-lowmem.c | 46 ++++++- check/mode-lowmem.h | 1 + check/mode-original.h | 14 ++ ctree.h | 3 + dir-item.c | 6 +- qgroup-verify.c | 82 ++++++++++++ .../026-bad-dir-item-name/description.txt | 41 ++++++ .../fsck-tests/026-bad-dir-item-name/test.sh | 13 -- 11 files changed, 354 insertions(+), 29 deletions(-) create mode 100644 tests/fsck-tests/026-bad-dir-item-name/description.txt delete mode 100755 tests/fsck-tests/026-bad-dir-item-name/test.sh -- 2.19.2