LVM2/libdm/ioctl libdm-iface.c
prajnoha@sourceware.org
prajnoha@sourceware.org
Mon Jan 31 11:54:00 GMT 2011
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: prajnoha@sourceware.org 2011-01-31 11:54:55
Modified files:
libdm/ioctl : libdm-iface.c
Log message:
Add a debug message when uevent is not generated and we call udev_complete internally.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/libdm/ioctl/libdm-iface.c.diff?cvsroot=lvm2&r1=1.88&r2=1.89
--- LVM2/libdm/ioctl/libdm-iface.c 2011/01/28 10:16:04 1.88
+++ LVM2/libdm/ioctl/libdm-iface.c 2011/01/31 11:54:55 1.89
@@ -1979,8 +1979,11 @@
}
}
- if (ioctl_with_uevent && !_check_uevent_generated(dmi))
+ if (ioctl_with_uevent && !_check_uevent_generated(dmi)) {
+ log_debug("Uevent not generated! Calling udev_complete "
+ "internally to avoid process lock-up.");
_udev_complete(dmt);
+ }
#else /* Userspace alternative for testing */
#endif
More information about the Lvm2-cvs
mailing list