1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/libdm/misc
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
..
dm-ioctl.h Add support for ioctl's DM_UEVENT_GENERATED_FLAG. 2010-03-23 14:38:37 +00:00
dm-log-userspace.h more build fixes 2010-01-19 01:10:46 +00:00
dm-logging.h Add log_errno to set a specific errno and replace log_error in due course. 2009-07-16 00:52:06 +00:00
dmlib.h more tweaking to get things to compile - dmlib.h for log fns, list.h 2008-11-03 18:59:59 +00:00
kdev_t.h Add libdm subdir to begin merging the device-mapper tree. 2008-10-30 15:31:33 +00:00