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.
>>
>> Signed-off-by: Goffredo Baroncelli <kreik...@inwind.it>
> 
> Otherwise LGTM.
> 
> Daniel
> 

Avoiding a rescan for a device which was already not founded.

If a device is not found, record this failure storing NULL in
data->devices_attached[]. This avoid un-necessary devices rescan, 
speeding the reading in case of a degraded array.

-- 
gpg @keyserver.linux.it: Goffredo Baroncelli <kreijackATinwind.it>
Key fingerprint BBF5 1610 0B64 DAC6 5F7D  17B2 0EDA 9B37 8B82 E0B5

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to