1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/format_text
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
..
archive.c scan: use bcache for label scan and vg read 2018-04-20 11:19:24 -05:00
archiver.c bcache: use wrappers for bcache read write in lvm 2018-04-20 11:22:47 -05:00
archiver.h vgcfgrestore: use lvmetad disabled state 2016-06-20 11:19:49 -05:00
export.c [io paths] Unpick agk's aio stuff 2018-04-20 11:03:58 -05:00
flags.c replicator: remove the code 2017-10-13 16:20:42 -05:00
format-text.c scan: skip device rescan in vg_read 2018-04-20 11:23:14 -05:00
format-text.h cov: declaration matching 2016-12-11 23:24:19 +01:00
import_vsn1.c scan: skip device rescan in vg_read 2018-04-20 11:23:14 -05:00
import-export.h scan: use bcache for label scan and vg read 2018-04-20 11:19:24 -05:00
import.c scan: use bcache for label scan and vg read 2018-04-20 11:19:24 -05:00
layout.h scan: use bcache for label scan and vg read 2018-04-20 11:19:24 -05:00
text_export.h coverity: fix possible resource leak of descendants_buffer in _print_historical_lv fn 2016-05-31 09:36:58 +02:00
text_import.h doc: change fsf address 2016-01-21 12:11:37 +01:00
text_label.c scan: skip device rescan in vg_read 2018-04-20 11:23:14 -05:00