1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 03:27:58 +03:00
lvm2/udev
Peter Rajnoha 7fa7632dc7 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
13-dm-disk.rules
95-dm-notify.rules
Makefile.in Update install rules for udev. 2010-04-09 21:44:28 +00:00