On Thu, Oct 11, 2018 at 08:50:58PM +0200, Goffredo Baroncelli wrote: > From: Goffredo Baroncelli <kreij...@inwind.it> > > Currently read from missing device triggers rescan. However, it is never > recorded that the device is missing. So, each read of a missing device > triggers rescan again and again. This behavior causes a lot of unneeded > rescans leading to huge slowdowns. > > This patch fixes above mentioned issue. Information about missing devices > is stored in the data->devices_attached[] array as NULL value in dev > member. Rescan is triggered only if no information is found for a given > device. This means that only first time read triggers rescan. > > The patch drops premature return. This way data->devices_attached[] is > filled even when a given device is missing. > > Signed-off-by: Goffredo Baroncelli <kreik...@inwind.it>
I changed commit message, so, you should add Signed-off-by: Daniel Kiper <daniel.ki...@oracle.com> I simply forgot to tell you about that. Sorry. And below you can add Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com> Daniel _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel