1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00
lvm2/libdm/ioctl
Peter Rajnoha ac3691f70e Add support for ioctl's DM_UEVENT_GENERATED_FLAG.
We need to know whether we should wait for any uevent or not when
using udev_sync. A kernel 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. There's also a new DM_UEVENT_GENERATED_FLAG
in the ioctl to notify userspace whether the event was generated.

If the uevent was not generated (e.g. the situation where the device is
*not* suspended and we call a resume), we just call dm_udev_complete
explicitly from within libdevmapper itself to prevent infinite waiting
while trying to synchronise with udev processing.
2010-03-23 14:38:37 +00:00
..
libdm-compat.h further progress 2008-11-01 02:19:19 +00:00
libdm-iface.c Add support for ioctl's DM_UEVENT_GENERATED_FLAG. 2010-03-23 14:38:37 +00:00
libdm-targets.h Add support for querying a device's inactive table. 2009-11-06 00:43:08 +00:00