[lvm-devel] [PATCH] Make use of new DM_UEVENT_GENERATED_FLAG in dm ioctl
Alasdair G Kergon
agk at redhat.com
Mon Mar 1 13:15:32 UTC 2010
On Mon, Mar 01, 2010 at 09:43:25AM +0100, Peter Rajnoha wrote:
> We need to know whether we should wait for any uevent or not when
> using udev_sync. A patch was posted recently that changed the way
> uevents are sent on dm device resume - it is sent only if the device
> has been suspended before.
> This is quite important to prevent infinite waiting for any
> non-existent notifications.
Yes - I think it probably makes sense to have this independent notification
that an actionable udev event was generated, rather than userspace having to
deduce this from its knowledge of the internal kernel logic.
Alasdair
More information about the lvm-devel
mailing list