Re: [PATCH] Wait after udev settles in DD code as usb has hardcoded timeout in kernel module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> @@ -2150,8 +2151,8 @@ int main(int argc, char ** argv) {
>      /* Save list of preloaded modules so we can restore the state */
>      moduleState = mlSaveModuleState();
>  
> -    /* Load all known devices */
> -    busProbe(FL_NOPROBE(flags));
> +    /* Load all known devices (allow 2s delay for kernel stuff) */
> +    if (!FL_NOPROBE(flags)) detectHardware(2);
>  
>      if (FL_AUTOMODDISK(flags)) {
>          /* Load all autodetected DDs */

What assurance do we have that this delay will be long enough?

In general, I really dislike adding miscellaneous delays.  It doesn't
really solve the underlying problems, just makes us take longer.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux