1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/metadata
David Teigland 8e509b5dd5 toollib: avoid repeated lvmetad vg_lookup
In process_each_{vg,lv,pv} when no vgname args are given,
the first step is to get a list of all vgid/vgname on the
system.  This is exactly what lvmetad returns from a
vg_list request.  The current code is doing a vg_lookup
on each VG after the vg_list and populating lvmcache with
the info for each VG.  These preliminary vg_lookup's are
unnecessary, because they will be done again when the
processing functions call vg_read.  This patch eliminates
the initial round of vg_lookup's, which can roughly cut in
half the number of lvmetad requests and save a lot of extra work.
2015-05-08 11:44:55 -05:00
..
cache_manip.c cache: Fix a segfault when passing --cachepolicy without --cachesettings. 2015-02-24 11:39:35 +01:00
lv_alloc.h thin: simplify thin volume creation 2014-10-26 18:37:13 +01:00
lv_manip.c cleanup: drop unneeded int test 2015-05-08 15:15:10 +02:00
lv.c report: fix seg_monitor field to display monitoring status for thick snapshots and mirrors 2015-03-05 14:05:34 +01:00
lv.h cleanup: for commit 7bcb3fb02d 2015-01-21 11:29:12 +01:00
merge.c cleanup: add lv_is_error_when_full() macro 2015-01-20 14:52:06 +01:00
metadata-exported.h toollib: avoid repeated lvmetad vg_lookup 2015-05-08 11:44:55 -05:00
metadata.c toollib: avoid repeated lvmetad vg_lookup 2015-05-08 11:44:55 -05:00
metadata.h cache: Store metadata size and checksum. 2015-03-18 23:43:02 +00:00
mirror.c debug: tracing error path 2015-05-08 15:15:10 +02:00
pool_manip.c pool: fix typo in error message: then -> than 2014-12-04 09:18:16 +01:00
pv_alloc.h cleanup: self compilable headers 2013-12-12 13:28:19 +01:00
pv_manip.c pvremove: Avoid metadata re-reads & related error messages. 2015-01-06 14:27:30 +01:00
pv_map.c raid_manip: v2 fix multi-segment misallocation on 'lvconvert --repair' 2015-01-16 13:44:16 +01:00
pv_map.h Track unreserved space for all alloc policies and then permit NORMAL to place 2012-02-01 02:10:45 +00:00
pv.c pv_vg_name: do not expose internal orphans to lvm2 users 2014-03-19 00:57:59 +01:00
pv.h cleanup: self compilable headers 2013-12-12 13:28:19 +01:00
raid_manip.c raid: reread status when 0 is reported 2015-05-04 13:09:05 +02:00
replicator_manip.c cleanup: constify activation usage of lv pointer 2014-09-24 10:54:47 +02:00
segtype.c clean: remove unneeded assign 2013-06-17 09:34:56 +02:00
segtype.h thin: errrorwhenfull support 2015-01-14 14:52:05 +01:00
snapshot_manip.c cleanup: fix typo and use vg mempool 2014-09-24 10:54:47 +02:00
thin_manip.c thin: add missing 64KB rounding 2014-11-26 09:29:25 +01:00
vg.c metadata: vg: add removed_lvs field to collect LVs which have been removed 2015-03-24 08:43:08 +01:00
vg.h metadata: vg: add removed_lvs field to collect LVs which have been removed 2015-03-24 08:43:08 +01:00