On Wed, Jun 26, 2019 at 01:30:17AM -0700, Anand Jain wrote:
> From: Anand Jain <anand.j...@oracle.com>
> 
> The cli 'btrfs inspect dump-tree <dev>' will scan for the partner devices
> if any by default.
> 
> So as of now you can not inspect each mirrored device independently.
> 
> This patch adds noscan option, which when used won't scan the system for
> the partner devices, instead it just uses the devices provided in the
> argument.
> 
> For example:
>   btrfs inspect dump-tree --noscan <dev> [<dev>..]
> 
> This helps to debug degraded raid1 and raid10.
> 
> Signed-off-by: Anand Jain <anand.j...@oracle.com>

This makes misc-test/021-image-multi-devices fail

====== RUN CHECK root_helper mount /dev/loop2 .../btrfs-progs/tests//mnt
====== RUN CHECK md5sum .../btrfs-progs/tests//mnt/foobar
md5sum: .../btrfs-progs/tests//mnt/foobar: Input/output error
failed: md5sum .../btrfs-progs/tests//mnt/foobar
====== RUN CHECK root_helper umount .../btrfs-progs/tests//mnt
====== RUN CHECK root_helper losetup -d /dev/loop2
====== RUN CHECK root_helper losetup -d /dev/loop3

note the md5sum error, that does not happen otherwise

Reply via email to