1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/metadata
David Teigland 25b58310e3 pvscan: avoid full scan for activation
When an online PV completed a VG, the standard
activation functions were used to activate the VG.
These functions use a full scan of all devs.
When many pvscans are run during startup and need
to activate many VGs, scanning all devs from all
the pvscans can take a long time.

Optimize VG activation in pvscan to scan only the
devs in the VG being activated.  This makes use of
the online file info that was used to determine
the VG was complete.

The downside of this approach is that pvscan activation
will not detect duplicate PVs and block activation,
where a normal activation command (which scans all
devices) would.
2019-09-03 10:11:16 -05:00
..
cache_manip.c vdo: enable caching for vdopool LV and vdo LV 2019-03-20 14:38:31 +01:00
lv_alloc.h build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
lv_manip.c lv_manip: add synchronizations 2019-08-26 15:32:19 +02:00
lv.c cache: support no_discard_passdown 2019-06-05 15:48:41 +02:00
lv.h Remove unused clvm variations for active LVs 2018-06-07 16:17:04 +01:00
merge.c Use "cachevol" to refer to cache on a single LV 2019-02-27 08:52:34 -06:00
metadata-exported.h pvscan: avoid full scan for activation 2019-09-03 10:11:16 -05:00
metadata.c pvscan: avoid full scan for activation 2019-09-03 10:11:16 -05:00
metadata.h md component detection addition in vg_read 2019-08-16 13:24:34 -05:00
mirror.c lvmlockd: do not allow mirror LV to be activated shared 2019-04-04 13:21:38 -05:00
pool_manip.c cleanup: indent 2019-01-28 22:39:10 +01:00
pv_alloc.h doc: change fsf address 2016-01-21 12:11:37 +01:00
pv_manip.c pvresize: add missing return 2018-06-08 14:36:56 +02:00
pv_map.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
pv_map.h build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
pv.c lvmcache: renaming functions and variables 2019-08-16 13:26:11 -05:00
pv.h improve reading and repairing vg metadata 2019-06-07 15:54:04 -05:00
raid_manip.c cleanup: use unsigned type 2019-05-03 13:17:22 +02:00
segtype.c segtype: add linear 2018-06-05 16:23:18 +02:00
segtype.h Add dm-writecache support 2018-11-06 14:18:41 -06:00
snapshot_manip.c lv_manip: add synchronizations 2019-08-26 15:32:19 +02:00
takeover_matrix.h lvconvert: add infrastructure for RaidLV reshaping support 2017-02-24 05:20:58 +01:00
thin_manip.c lv_manip: add synchronizations 2019-08-26 15:32:19 +02:00
vdo_manip.c vdo: introduce function for estimation of virtual size 2019-01-21 12:53:16 +01:00
vg.c improve reading and repairing vg metadata 2019-06-07 15:54:04 -05:00
vg.h metadata: include description with command in metadata areas 2019-06-20 16:09:05 -05:00