1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-04 09:18:36 +03:00
lvm2/lib/metadata
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
..
lv_alloc.h discards: don't discard reconfigured extents 2012-06-27 22:12:01 +01:00
lv_manip.c activation: add support for flagging an LV to skip udev scanning during activation 2013-10-08 13:43:14 +02:00
lv.c RAID: Make RAID single-machine-exclusive capable in a cluster 2013-09-10 16:33:22 -05:00
lv.h report: add vg_profile and lv_profile to report the profile attached to VG/LV 2013-07-02 15:22:12 +02:00
merge.c thin: validation catch multiseg thin pool/volumes 2013-09-07 03:32:07 +02:00
metadata-exported.h activation: add support for flagging an LV to skip udev scanning during activation 2013-10-08 13:43:14 +02:00
metadata.c cmdline: Add --ignoreskippedcluster. 2013-10-01 21:20:10 +01:00
metadata.h thin: rename extend_pool to create_pool 2013-07-23 13:33:14 +01:00
mirror.c Revert a previous change 2013-07-24 14:18:07 -05:00
pv_alloc.h discards: split discard from release_pv_segment 2012-06-27 22:11:54 +01:00
pv_manip.c cleanup: use dm_list_empty 2013-07-18 18:22:42 +02:00
pv_map.c logging: classify log_debug messages 2013-01-07 22:30:29 +00:00
pv_map.h Track unreserved space for all alloc policies and then permit NORMAL to place 2012-02-01 02:10:45 +00:00
pv.c refactor: rename embedding area -> bootloader area 2013-05-28 12:37:22 +02:00
pv.h refactor: rename embedding area -> bootloader area 2013-05-28 12:37:22 +02:00
raid_manip.c RAID: Make RAID single-machine-exclusive capable in a cluster 2013-09-10 16:33:22 -05:00
replicator_manip.c logging: classify log_debug messages 2013-01-07 22:30:29 +00:00
segtype.c clean: remove unneeded assign 2013-06-17 09:34:56 +02:00
segtype.h cleanup: indent line 2013-04-02 15:17:05 +02:00
snapshot_manip.c snapshot: update merging fix 2013-07-23 15:15:04 +02:00
thin_manip.c release 2.02.103 2013-10-04 14:32:23 +01:00
vg.c RAID: Make RAID single-machine-exclusive capable in a cluster 2013-09-10 16:33:22 -05:00
vg.h thin: add pool metadata spare lv support 2013-07-18 18:22:43 +02:00