Re: [PATCH] btrfs-progs: dump-tree: add degraded option

2018-03-09 Thread Anand Jain
On 03/10/2018 12:23 AM, David Sterba wrote: On Thu, Feb 22, 2018 at 10:00:11PM +0800, Anand Jain wrote: btrfs inspect dump-tree cli picks the disk with the largest generation to read the root tree, even when all the devices were not provided in the cli. But in 2 disks RAID1 you may need to

Re: [PATCH] btrfs-progs: dump-tree: add degraded option

2018-03-09 Thread David Sterba
On Thu, Feb 22, 2018 at 10:00:11PM +0800, Anand Jain wrote: > btrfs inspect dump-tree cli picks the disk with the largest generation > to read the root tree, even when all the devices were not provided in > the cli. But in 2 disks RAID1 you may need to know what's in the disks > individually, so

[PATCH] btrfs-progs: dump-tree: add degraded option

2018-02-22 Thread Anand Jain
btrfs inspect dump-tree cli picks the disk with the largest generation to read the root tree, even when all the devices were not provided in the cli. But in 2 disks RAID1 you may need to know what's in the disks individually, so this option -x | --degraded indicates to use only the given disk to