1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/label
David Teigland 726dd25969 add hints interface to the pvs_online file information
The information in /run/lvm/pvs_online/<pvid> files can
be used to build a list of devices for a given VG.

The pvscan -aay command has long used this information to
activate a VG while scanning only devices in that VG, which
is an important optimization for autoactivation.

This patch implements the same thing through the existing
device hints interface, so that the optimization can be
applied elsewhere.  A future patch will take advantage of
this optimization in vgchange -aay, which is now used in
place of pvscan -aay for event activation.
2021-11-04 10:58:16 -05:00
..
hints.c add hints interface to the pvs_online file information 2021-11-04 10:58:16 -05:00
hints.h hints: keep strings aligned in structure 2021-03-08 15:33:15 +01:00
label.c add hints interface to the pvs_online file information 2021-11-04 10:58:16 -05:00
label.h lvmdevices: increase open file limit 2021-11-03 08:50:57 -05:00