]> err.no Git - systemd/commit
udevd: fix serialization of events
authorKay Sievers <kay.sievers@vrfy.org>
Thu, 19 Apr 2007 20:21:05 +0000 (22:21 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Thu, 19 Apr 2007 20:21:05 +0000 (22:21 +0200)
commitfc630edad4631f4c046052f504a67ce9df381531
tree3f3f0a0381dec758cb35a47a5bc6578edd4cd9a1
parent3a6704cba7f0e37bcb957f836fa1d5f873f20dae
udevd: fix serialization of events

We see sequences like:
  UEVENT[1176966403.907336] add@/block/dasda
  UDEV  [1176966403.920359] add@/block/dasda
  UEVENT[1176966403.964379] add@/block/dasda/dasda1
  UEVENT[1176966403.964438] add@/block/dasda/dasda2
  UEVENT[1176966403.964483] online@/block/dasda
  UEVENT[1176966403.964519] online@/block/dasda/dasda1
  UEVENT[1176966403.964555] online@/block/dasda/dasda2
  UDEV  [1176966403.967413] add@/block/dasda/dasda1
  UDEV  [1176966403.968719] add@/block/dasda/dasda2
  UDEV  [1176966403.974750] online@/block/dasda/dasda1
  UDEV  [1176966403.982241] online@/block/dasda/dasda2
  UDEV  [1176966403.999847] online@/block/dasda

where the event for the disk (last event) should come before the
events for the partitons. We skipped events for dependency reasons,
but the dependency check for later events did not see the skipped
events.
udevd.c