Re: [PATCH 4/7] Avoiding scanning for an already not found device.

2018-05-09 Thread Goffredo Baroncelli
On 05/09/2018 04:07 PM, Daniel Kiper wrote: > On Tue, Apr 24, 2018 at 09:13:13PM +0200, Goffredo Baroncelli wrote: >> If a device is missing, create the entry in data->devices_attached[] array. > > What kind of entry? Invalid one? Please clarify this. > >> This avoid un-necessary devices rescan.

Re: [PATCH 4/7] Avoiding scanning for an already not found device.

2018-05-09 Thread Daniel Kiper
On Tue, Apr 24, 2018 at 09:13:13PM +0200, Goffredo Baroncelli wrote: > If a device is missing, create the entry in data->devices_attached[] array. What kind of entry? Invalid one? Please clarify this. > This avoid un-necessary devices rescan. > > Signed-off-by: Goffredo Baroncelli

[PATCH 4/7] Avoiding scanning for an already not found device.

2018-04-24 Thread Goffredo Baroncelli
If a device is missing, create the entry in data->devices_attached[] array. This avoid un-necessary devices rescan. Signed-off-by: Goffredo Baroncelli --- grub-core/fs/btrfs.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git