1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/locking
Peter Rajnoha ce7489ed22 activation: add support for flagging an LV to skip udev scanning during activation
A common scenario is during new LV creation when we need to wipe the
newly created LV and avoid any udev scanning before this stage otherwise
it could cause the device (the LV) to be claimed by some other subsystem
for which there were stale metadata within LV data.

This patch adds possibility to mark the LV we're just about to wipe with
a flag that gets passed to udev via DM_COOKIE as a subsystem specific
flag - DM_SUBSYSTEM_UDEV_FLAG0 (in this case the subsystem is "LVM")
so LVM udev rules will take care of handling that.
2013-10-08 13:43:14 +02:00
..
.exported_symbols Pre-release cleanups. 2009-05-21 03:04:52 +00:00
cluster_locking.c locking: fix cluster lock_resource fn prototype 2013-07-05 01:59:52 +01:00
external_locking.c config: add profile arg to find_config_tree_str 2013-07-02 15:19:09 +02:00
file_locking.c activation: add support for flagging an LV to skip udev scanning during activation 2013-10-08 13:43:14 +02:00
locking_types.h locking: Make it possible to pass down an LV to activation code. 2013-06-10 17:26:38 +02:00
locking.c locking: unlock memory on error path 2013-07-08 14:02:49 +02:00
locking.h locking: Make it possible to pass down an LV to activation code. 2013-06-10 17:26:38 +02:00
Makefile.in Install plugins to subdirs 2010-05-06 10:07:46 +00:00
no_locking.c activation: add support for flagging an LV to skip udev scanning during activation 2013-10-08 13:43:14 +02:00