Re: handling of udev settle timeout in anaconda

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

 



On Wed, 2009-12-09 at 10:48 +0100, Hans de Goede wrote:
> So I would like to propose 2 changes:
> 
> 1) centralize the setting of the timeout parameter inside the
> udev_settle function. I do realize that the time needed for
> initially scanning all disks is much larger, then the time for
> scanning a single new partition when we are creating partitions.
> But since this is a timeout, and udevadm settle will exit as soon
> as the scanning is done, I see no reason not to have a single place
> to configure the timeout assuming the worst case scenario (the initial
> disk scan). This way we won't have these magic values sprinkled all
> over the code.
> 
> 2) Given that in the past we've had bugs filed
> about anaconda taking many minutes to scan hardware on big iron machine
> and that our initial udev settle call will scan all disks, I think
> that udevadm's default timeout of 1 minutes is too low, I would like
> to suggest using a timeout of 5 minutes.

Both sound okay to me. I put those timeouts in there early on when I was
debugging the udev rules without giving too much thought to whether they
should be adjusted at some point in time.

Dave

_______________________________________________
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