[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [lvm-devel] [PATCH] Make use of new DM_UEVENT_GENERATED_FLAG in dm ioctl



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]