Re: [PATCH] btrfs: handle dynamically reappearing missing device

2017-11-28 Thread Liu Bo
On Fri, Nov 17, 2017 at 07:53:29PM +0800, Anand Jain wrote: > > > On 11/17/2017 07:28 AM, Liu Bo wrote: > > On Sun, Nov 12, 2017 at 06:56:50PM +0800, Anand Jain wrote: > > > If the device is not present at the time of (-o degrade) mount > > > the mount context will create a dummy missing struct b

Re: [PATCH] btrfs: handle dynamically reappearing missing device

2017-11-17 Thread Anand Jain
On 11/17/2017 07:28 AM, Liu Bo wrote: On Sun, Nov 12, 2017 at 06:56:50PM +0800, Anand Jain wrote: If the device is not present at the time of (-o degrade) mount the mount context will create a dummy missing struct btrfs_device. Later this device may reappear after the FS is mounted. This co

Re: [PATCH] btrfs: handle dynamically reappearing missing device

2017-11-16 Thread Anand Jain
On 11/17/2017 03:08 AM, Nikolay Borisov wrote: On 12.11.2017 12:56, Anand Jain wrote: If the device is not present at the time of (-o degrade) mount the mount context will create a dummy missing struct btrfs_device. Later this device may reappear after the FS is mounted. So this patch handle

Re: [PATCH] btrfs: handle dynamically reappearing missing device

2017-11-16 Thread Liu Bo
On Sun, Nov 12, 2017 at 06:56:50PM +0800, Anand Jain wrote: > If the device is not present at the time of (-o degrade) mount > the mount context will create a dummy missing struct btrfs_device. > Later this device may reappear after the FS is mounted. This commit log doesn't explain what would hap

Re: [PATCH] btrfs: handle dynamically reappearing missing device

2017-11-16 Thread Nikolay Borisov
On 12.11.2017 12:56, Anand Jain wrote: > If the device is not present at the time of (-o degrade) mount > the mount context will create a dummy missing struct btrfs_device. > Later this device may reappear after the FS is mounted. So this > patch handles that case by going through the open_device

Re: [PATCH] btrfs: handle dynamically reappearing missing device

2017-11-15 Thread Anand Jain
On 11/15/2017 03:38 PM, kbuild test robot wrote: Hi Anand, Thank you for the patch! Yet something to improve: [auto build test ERROR on btrfs/next] [also build test ERROR on v4.14 next-20171114] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system

Re: [PATCH] btrfs: handle dynamically reappearing missing device

2017-11-14 Thread kbuild test robot
Hi Anand, Thank you for the patch! Yet something to improve: [auto build test ERROR on btrfs/next] [also build test ERROR on v4.14 next-20171114] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/

[PATCH] btrfs: handle dynamically reappearing missing device

2017-11-12 Thread Anand Jain
If the device is not present at the time of (-o degrade) mount the mount context will create a dummy missing struct btrfs_device. Later this device may reappear after the FS is mounted. So this patch handles that case by going through the open_device steps which this device missed and finally adds