1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/udev
David Teigland d558b3ad7e vgchange -aay: optimize device scan using pvs_online files
Port the old pvscan -aay scanning optimization to vgchange -aay.
The optimization uses pvs_online files created by pvscan --cache
to derive a list of devices to use when activating a VG.  This
allows autoactivation of a VG to avoid scanning all devices, and
only scan the devices used by the VG itself.  The optimization is
applied internally using the device hints interface.

The new option "--autoactivation event" is given to pvscan and
vgchange commands that are called by event activation.  This
informs the command that it is being used for event activation,
so that it can apply checks and optimizations that are specific
to event activation.  Those include:

- skipping the command if lvm.conf event_activation=0
- checking that a VG is complete before activating it
- using pvs_online files to limit device scanning
2021-11-04 11:08:38 -05:00
..
.gitignore gitignore: Update for in-place build. 2015-07-27 13:18:35 +01:00
10-dm.rules.in udev: rules: add comments explaining subsystem-specific rules 2016-04-26 12:57:37 +02:00
11-dm-lvm.rules.in udev: remove unsupported OPTIONS+="event_timeout" rule 2019-08-13 15:18:30 +02:00
12-dm-permissions.rules add copyright lines 2009-10-26 22:42:07 +00:00
13-dm-disk.rules.in udev: also create /dev/disk/by-part{label,uuid} and gpt-auto-root symlinks 2017-07-10 12:36:39 +02:00
69-dm-lvm-metad.rules.in vgchange -aay: optimize device scan using pvs_online files 2021-11-04 11:08:38 -05:00
69-dm-lvm.rules.in vgchange -aay: optimize device scan using pvs_online files 2021-11-04 11:08:38 -05:00
95-dm-notify.rules.in udev: udev rules cleanup 2012-06-27 12:11:56 +02:00
Makefile.in new udev autoactivation 2021-10-07 12:42:31 -05:00