Re: fastboot/async and initramfs: How am I supposed to know when devices are finished initializing?

From: Dan Williams
Date: Mon Mar 30 2009 - 15:08:31 EST


On Mon, Mar 30, 2009 at 11:42 AM, Kay Sievers <kay.sievers@xxxxxxxx> wrote:
> On Mon, Mar 30, 2009 at 20:23, Dan Williams <dan.j.williams@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/