From faaf70f1cc7ade1d6d5a41a900a3b58cc4bd5f58 Mon Sep 17 00:00:00 2001 From: Lu Fengqi Date: Fri, 3 Nov 2017 16:28:04 +0800 Subject: [PATCH] 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 Signed-off-by: David Sterba --- cmds-check.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmds-check.c b/cmds-check.c index a6198ba..5750bb7 100644 --- a/cmds-check.c +++ b/cmds-check.c @@ -5867,8 +5867,9 @@ static int check_file_extent(struct btrfs_root *root, struct btrfs_key *fkey, *end, fkey->offset - *end); if (!repair || ret) { err |= FILE_EXTENT_ERROR; - error("root %llu EXTENT_DATA[%llu %llu] interrupt", - root->objectid, fkey->objectid, fkey->offset); + error( + "root %llu EXTENT_DATA[%llu %llu] interrupt, should start at %llu", + root->objectid, fkey->objectid, fkey->offset, *end); } } -- 2.7.4