Re: [PATCH RFC v2] Btrfs: device_list_add() should not update list when mounted

2014-04-06 Thread Anand Jain
Thanks for the comments. More inline below. On 04/04/2014 21:35, David Sterba wrote: On Wed, Apr 02, 2014 at 05:48:21PM +0800, Anand Jain wrote: Device list add shouldn't update the list when FS is mounted, unless the whole loop w.r.t to bringing back the missing disk is completed. (That is

Re: [PATCH RFC v2] Btrfs: device_list_add() should not update list when mounted

2014-04-04 Thread David Sterba
On Wed, Apr 02, 2014 at 05:48:21PM +0800, Anand Jain wrote: Device list add shouldn't update the list when FS is mounted, unless the whole loop w.r.t to bringing back the missing disk is completed. (That is making it to be part of the group profile and the code for this isn't there yet). As

[PATCH RFC v2] Btrfs: device_list_add() should not update list when mounted

2014-04-02 Thread Anand Jain
Device list add shouldn't update the list when FS is mounted, unless the whole loop w.r.t to bringing back the missing disk is completed. (That is making it to be part of the group profile and the code for this isn't there yet). As as of now (without this patch) when device is scanned with