-------- Original Message --------
Subject: Re: [PATCH] btrfs-progs: Add dev uuid output for print_dev_item().
From: Mike Fleetwood <mike.fleetw...@googlemail.com>
To: Qu Wenruo <quwen...@cn.fujitsu.com>
Date: 2014年05月30日 03:52
On 29 May 2014 02:02, Qu Wenruo <quwen...@cn.fujitsu.com> wrote:
The original print_dev_item() only prints device id,total bytes and
bytes used.
When it comes to debug things related to duplicated device id, dev uuid
is needed to distinguish different device since device is is no
reliable.
At the end of the message I think there is a couple of typos and you meant:
... device id is not reliable.
Yes, it is not reliable when comes to reappered missing devices.
If you mounted btrfs with missing device using degraded mode and
replaced missing device,
but the missing device reappered, then devices with same dev uuid will
show up.
Thanks,
Qu
This patch added dev uuid output.
Signed-off-by: Qu Wenruo <quwen...@cn.fujitsu.com>
---
print-tree.c | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
Thanks,
Mike
--
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
--
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