1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/test
David Teigland 62533ae3fa vgchange -aay: optimize device list using pvs_online files
Port another optimization from pvscan -aay to vgchange -aay:
  "pvscan: only add device args to dev cache"

This optimization avoids doing a full dev_cache_scan, and
instead populates dev-cache with only the devices in the
VG being activated.

This involves shifting the use of pvs_online files from
the hints interface up to the higher level label_scan
interface.  This specialized label_scan is structured
around creating a list of devices from the pvs_online
files.  Previously, a list of all devices was created
first, and then reduced based on the pvs_online files.
The initial step of listing all devices was slow when
thousands of devices are present on the system.

This optimization extends the previous optimization that
used pvs_online files to limit the devices that were
actually scanned (i.e. reading to identify the device):
  "vgchange -aay: optimize device scan using pvs_online files"
2021-11-05 12:19:35 -05:00
..
api shellcheck: updates 2021-04-23 23:00:55 +02:00
dbus tests: test_pv_symlinks works only with /dev dir 2021-03-28 00:21:38 +01:00
lib cov: ignoring 2021-09-27 18:56:14 +02:00
shell vgchange -aay: optimize device list using pvs_online files 2021-11-05 12:19:35 -05:00
unit cov: ignore close result 2021-10-15 23:40:29 +02:00
.gitignore test: add results/ to .gitignore 2016-12-10 18:00:25 +00:00
Makefile.in vdo: Rename vdoimport to lvm_import_vdo. 2021-08-26 17:13:59 +02:00