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

Signed-off-by: Lu Fengqi <lufq.f...@cn.fujitsu.com>
---

Sorry for any inconvenience caused. Please ignore this 
message(https://www.spinics.net/lists/linux-btrfs/msg66803.html).

 cmds-check.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmds-check.c b/cmds-check.c
index dedb12d1..f42968cd 100644
--- a/cmds-check.c
+++ b/cmds-check.c
@@ -4848,8 +4848,8 @@ static int check_file_extent(struct btrfs_root *root, 
struct btrfs_key *fkey,
                      root->objectid, fkey->objectid, fkey->offset);
        } else if (!no_holes && *end != fkey->offset) {
                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);
        }
 
        *end += extent_num_bytes;
-- 
2.13.2



--
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