Re: [PATCH] udev: fix problem due to unsorted events

Kay Sievers <[email protected]>
Newsgroups gmane.linux.hotplug.devel
Message-ID <CAPXgP13VKKF+t_iiPssDXTgk_JH1KyzUMVYB5dESVPRU_BhdRA@mail.gmail.com>
On Tue, Mar 6, 2012 at 09:48, Andrey Vagin <[email protected]> wrote:
> From: Andrey Vagin <[email protected]>
>
> A kernel gives events, but this events can be unsorted.
> For example, here is log from system:
> udevd[77]: seq 924 queued, 'add' 'bdi'
> udevd[77]: seq 926 queued, 'add' 'block'
> udevd[77]: seq 927 queued, 'add' 'block'
> udevd[77]: seq 928 queued, 'add' 'block
> udevd[77]: seq 925 queued, 'add' 'drivers'

The kernel cannot send un-ordered events. Please try to reproduce that
with 'udevadm monitor'.

I doubt that this is a problem udev should try to work around, its
logic is entirely based on the assumption that kernel events are
always in order.

Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.