Re: [PATCH 1/2] udevd: respect the value of TIMEOUT in uevents

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

 



On Tue, May 26, 2009 at 11:52, Alan Jenkins <alan-jenkins@xxxxxxxxxxxxxx> wrote:
> I believe this is the correct behaviour.  I'm highlighting this change
> by making it a separate commit (even though the specific code will be
> removed in the following commit).

> -       alarm(UDEV_EVENT_TIMEOUT);
> +       if (udev_device_get_timeout(event->dev) > 0)
> +               alarm(udev_device_get_timeout(event->dev));
> +       else
> +               alarm(UDEV_EVENT_TIMEOUT);

That's the kernel supplied timeout value used for the firmware loader.
You really don't want to kill the event when this timeout expires. :)

The event_timeout is what we want, but that comes from the rules and
is not set at this time in the daemon.

Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux