1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
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
..
activate activation: add support for flagging an LV to skip udev scanning during activation 2013-10-08 13:43:14 +02:00
cache cleanup: simplier string reset 2013-07-22 12:41:21 +02:00
commands cmdline: Add --ignoreskippedcluster. 2013-10-01 21:20:10 +01:00
config release 2.02.103 2013-10-04 14:32:23 +01:00
datastruct Switch to return void 2012-02-08 12:52:58 +00:00
device filters: Add bcache. 2013-09-16 16:56:55 +01:00
display display: fix units for sizes <1k 2013-07-18 17:55:58 +01:00
error cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
filters filter-mpath: remove superfluous error message about mpath major not equal to dm major 2013-08-21 14:07:01 +02:00
format1 cleanup: drop unused headers 2013-06-16 00:07:32 +02:00
format_pool cleanup: drop unused headers 2013-06-16 00:07:32 +02:00
format_text release 2.02.102 2013-09-23 15:43:37 +01:00
freeseg cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
label logging: classify log_debug messages 2013-01-07 22:30:29 +00:00
locking activation: add support for flagging an LV to skip udev scanning during activation 2013-10-08 13:43:14 +02:00
log logging: tidy log_sys_error when string empty 2013-08-12 18:40:41 +01:00
metadata activation: add support for flagging an LV to skip udev scanning during activation 2013-10-08 13:43:14 +02:00
mirror config: add profile arg to find_config_tree_str 2013-07-02 15:19:09 +02:00
misc fix: some issues reported by coverity 2013-08-15 12:23:49 +02:00
mm config: add profile arg to find_config_tree_bool 2013-07-02 15:19:09 +02:00
properties lvm2app: Add thin and thin pool lv creation 2013-07-12 16:52:16 -05:00
raid fix: also make commit b4637 work without dmeventd 2013-09-30 08:17:56 +02:00
replicator cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
report lvs: Add seg_size_pe field. 2013-09-23 21:50:14 +01:00
snapshot config: add profile arg to find_config_tree_str 2013-07-02 15:19:09 +02:00
striped Add activation/use_linear_target enabled by default. (prajnoha) 2011-11-28 20:37:51 +00:00
thin fix: also make commit b4637 work without dmeventd 2013-09-30 08:17:56 +02:00
unknown cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
uuid Revert the #include changes. Need to fix this at the #include site for now, and 2011-07-18 14:34:33 +00:00
zero cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
Makefile.in filters: check for mpath before opening devs 2013-08-13 23:26:58 +01:00