Re: [PATCH v2] btrfs-progs: there is devid 0 when replace is running

2014-02-24 Thread Anand Jain
kindly ignore this patch. Though it correct that we need to start from devid 0 to scan. But the individual scan is broken well before this patch. So to fix all together a patch bundle is sent to the mailing list including this Thanks Anand On 02/04/14 04:33 PM, Anand Jain wrote: During disk

[PATCH v2] btrfs-progs: there is devid 0 when replace is running

2014-02-04 Thread Anand Jain
During disk replacement a new disk is temporarily added to the fs devlist with devid 0 and fs num_device is incremented by 1. However when progs reads the devlist it fail to obtain details of devid 0 because it doesn't query devid 0 at all. reproducer: btrfs rep start /dev/sdb /dev/sdf /btrfs