Re: [PATCH v4] btrfs-progs: add 'btrfs device ignore' cli

2017-12-05 Thread Anand Jain
On 12/06/2017 03:11 AM, David Sterba wrote: On Tue, Dec 05, 2017 at 04:52:57PM +0800, Anand Jain wrote: This patch adds btrfs device ignode so that a device can be ignored/missed during mount if the device is already been scanned. Basically, this command will undo the effect of the

Re: [PATCH v4] btrfs-progs: add 'btrfs device ignore' cli

2017-12-05 Thread David Sterba
On Tue, Dec 05, 2017 at 04:52:57PM +0800, Anand Jain wrote: > This patch adds > btrfs device ignode > so that a device can be ignored/missed during mount if the device is > already been scanned. Basically, this command will undo the effect > of the command > btrfs device scan As it logicall

[PATCH v4] btrfs-progs: add 'btrfs device ignore' cli

2017-12-05 Thread Anand Jain
This patch adds btrfs device ignode so that a device can be ignored/missed during mount if the device is already been scanned. Basically, this command will undo the effect of the command btrfs device scan This change is compatible with older kernel without the ioctl BTRFS_IOC_IGNORE_DEV