mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
Add a debug message when uevent is not generated and we call udev_complete internally.
This commit is contained in:
parent
733b05a693
commit
1e88b1125a
@ -1979,8 +1979,11 @@ static struct dm_ioctl *_do_dm_ioctl(struct dm_task *dmt, unsigned command,
|
||||
}
|
||||
}
|
||||
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user