btrfs-progs: lowmem check: Output more detailed information about file extent interrupt

Make lowmem mode output more detailed information about file extent
interrupt.

Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
Lu Fengqi 2017-11-03 16:28:04 +08:00 committed by David Sterba
parent 752f42d2c0
commit faaf70f1cc

View File

@ -5867,8 +5867,9 @@ static int check_file_extent(struct btrfs_root *root, struct btrfs_key *fkey,
*end, fkey->offset - *end); *end, fkey->offset - *end);
if (!repair || ret) { if (!repair || ret) {
err |= FILE_EXTENT_ERROR; err |= FILE_EXTENT_ERROR;
error("root %llu EXTENT_DATA[%llu %llu] interrupt", error(
root->objectid, fkey->objectid, fkey->offset); "root %llu EXTENT_DATA[%llu %llu] interrupt, should start at %llu",
root->objectid, fkey->objectid, fkey->offset, *end);
} }
} }