1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/udev
Peter Rajnoha 2fef22fa85 Set DM_UDEV_DISABLE_OTHER_RULES_FLAG for suspended DM devices in udev rules.
This is to avoid any scanning and processing of DM devices while they are in
suspended state (e.g. a rename while the device is suspended - a CHANGE event
is generated!). Otherwise, any scanning in the rules could end up with locking
the calling process until the device is resumed and so we don't receive a
notification about udev rules completion until then (and that effectively
locks out the process awaiting the notification!).

However, we still keep 'disk' and any 'subsystem' related udev rules running.
We trust these and these should check themselves whether a device is suspended
or not, not trying to run any scanning if it is.
2011-01-28 11:41:51 +00:00
..
10-dm.rules.in Set DM_UDEV_DISABLE_OTHER_RULES_FLAG for suspended DM devices in udev rules. 2011-01-28 11:41:51 +00:00
11-dm-lvm.rules Use "nowatch" udev rule for known inappropriate devices. 2010-07-07 11:22:46 +00:00
12-dm-permissions.rules add copyright lines 2009-10-26 22:42:07 +00:00
13-dm-disk.rules Remove 'last_rule' from udev rules. 2009-11-13 12:33:27 +00:00
95-dm-notify.rules More cleanup in udev rules: 2009-11-01 18:01:31 +00:00
Makefile.in Update install rules for udev. 2010-04-09 21:44:28 +00:00