0324130 btrfs-progs: dump-tree: add noscan option

2 files Authored by Anand Jain 4 years ago, Committed by David Sterba 4 years ago,
    btrfs-progs: dump-tree: add noscan option
    
    The comman 'btrfs inspect dump-tree <dev>' will scan all the devices
    from the filesystem by defaul.
    
    So as of now you can not inspect each mirrored device independently.
    
    This patch adds option --noscan, 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.jain@oracle.com>
    Signed-off-by: David Sterba <dsterba@suse.com>
    
        
file modified
+41 -12