1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/config
David Teigland aee27dc7ba scan: skip device rescan in vg_read
For reporting commands (pvs,vgs,lvs,pvdisplay,vgdisplay,lvdisplay)
we do not need to repeat the label scan of devices in vg_read if
they all had matching metadata in the initial label scan.  The
data read by label scan can just be reused for the vg_read.
This cuts the amount of device i/o in half, from two reads of
each device to one.  We have to be careful to avoid repairing
the VG if we've skipped rescanning.  (The VG repair code is very
poor, and will be redone soon.)
2018-04-20 11:23:14 -05:00
..
config_settings.h lvmcache: simplify metadata cache 2018-04-20 11:22:45 -05:00
config.c scan: skip device rescan in vg_read 2018-04-20 11:23:14 -05:00
config.h [io paths] Unpick agk's aio stuff 2018-04-20 11:03:58 -05:00
defaults.h lvmcache: simplify metadata cache 2018-04-20 11:22:45 -05:00