linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
To: linux-hotplug@vger.kernel.org
Subject: Re: [PATCH 1/2] udevd: respect the value of TIMEOUT in uevents
Date: Tue, 26 May 2009 10:19:49 +0000	[thread overview]
Message-ID: <4A1BC245.5040309@tuffmail.co.uk> (raw)
In-Reply-To: <4A1BBBE6.4040202@tuffmail.co.uk>

Kay Sievers wrote:
> On Tue, May 26, 2009 at 11:52, Alan Jenkins <alan-jenkins@tuffmail.co.uk> 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
>   

Ok, I'm glad I kept this separate.  Don't apply patch 2 then :-).  I'll
remove this and resubmit.

Thanks
Alan

  parent reply	other threads:[~2009-05-26 10:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-26  9:52 [PATCH 1/2] udevd: respect the value of TIMEOUT in uevents Alan Jenkins
2009-05-26 10:17 ` Kay Sievers
2009-05-26 10:19 ` Alan Jenkins [this message]
2009-05-26 15:31 ` Kay Sievers
2009-05-26 16:55 ` Alan Jenkins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A1BC245.5040309@tuffmail.co.uk \
    --to=alan-jenkins@tuffmail.co.uk \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).