Re: [PATCH] udev enhancements to use kernel event queue

Andrew Morton (akpm@digeo.com)
Thu, 12 Jun 2003 15:03:35 -0700


Greg KH <greg@kroah.com> wrote:
>
> > 3) /sbin/hotplug events can occur out of order, eg: remove event occurs,
> > /sbin/hotplug sleeps waiting for something, insert event occurs and
> > completes immediately. Then the remove event completes, after the
> > insert, resulting in out-of-order completion and a broken /dev. I have
> > seen this several times with udev.
>
> I responded:
> Yes this happens. I have a fix for this for udev itself. No
> kernel changes are needed. I'll show it at OLS in July if you
> want to see it :)

This is a significantly crappy aspect of the /sbin/hotplug callout. I'd be
very interested in reading an outline of how you propose fixing it, without
waiting until OLS, thanks.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/