All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
To: <linux-btrfs@vger.kernel.org>
Subject: [PATCH RESEND 2/4] btrfs-progs: lowmem check: Output more detailed information about file extent interrupt
Date: Fri, 3 Nov 2017 16:28:04 +0800	[thread overview]
Message-ID: <20171103082806.22448-3-lufq.fnst@cn.fujitsu.com> (raw)
In-Reply-To: <20171103082806.22448-1-lufq.fnst@cn.fujitsu.com>

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

Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
---
 cmds-check.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/cmds-check.c b/cmds-check.c
index a6198bad..5750bb72 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.15.0




  parent reply	other threads:[~2017-11-03  8:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-03  8:28 [PATCH RESEND 0/4] fix alert and add testcase lowmem check Lu Fengqi
2017-11-03  8:28 ` [PATCH RESEND 1/4] btrfs-progs: test: Add test image for lowmem mode file extent interrupt Lu Fengqi
2017-11-03  8:28 ` Lu Fengqi [this message]
2017-11-03  8:28 ` [PATCH RESEND 3/4] btrfs-progs: lowmem check: Fix false alert about referencer count mismatch Lu Fengqi
2017-11-03  8:28 ` [PATCH RESEND 4/4] btrfs-progs: test: Add test image for lowmem mode referencer count mismatch false alert Lu Fengqi
2017-11-09 16:23 ` [PATCH RESEND 0/4] fix alert and add testcase lowmem check David Sterba
2017-11-09 16:25   ` David Sterba

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171103082806.22448-3-lufq.fnst@cn.fujitsu.com \
    --to=lufq.fnst@cn.fujitsu.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.