[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e9c3a7c20903301208k6fe17c92xe855a3c85d893454@mail.gmail.com>
Date: Mon, 30 Mar 2009 12:08:07 -0700
From: Dan Williams <dan.j.williams@...el.com>
To: Kay Sievers <kay.sievers@...y.org>
Cc: Thomas Bächler <thomas@...hlinux.org>,
Arjan van de Ven <arjan@...radead.org>,
linux-kernel@...r.kernel.org
Subject: Re: fastboot/async and initramfs: How am I supposed to know when
devices are finished initializing?
On Mon, Mar 30, 2009 at 11:42 AM, Kay Sievers <kay.sievers@...y.org> wrote:
> On Mon, Mar 30, 2009 at 20:23, Dan Williams <dan.j.williams@...el.com> wrote:
>
>> settle: allow --timeout=0 to test for "queue busy"
>
>> + if (!udev_queue_get_queue_is_empty(udev_queue))
>> + rc = 1;
>
> You mean, we should not wait? Then we need to check for timeout == 0
> and return immediately instead of entering the checking loop at all,
> right?
>
We already skip if loop==0...?
</me checks latest git>
Oh, this patch (against 138) needs to be reworked.
Thanks,
Dan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists