1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-02-07 05:58:00 +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
..
2014-10-26 18:37:13 +01:00
2015-05-08 15:15:10 +02:00
2015-05-08 15:15:10 +02:00
2013-12-12 13:28:19 +01:00
2013-12-12 13:28:19 +01:00
2013-06-17 09:34:56 +02:00
2015-01-14 14:52:05 +01:00
2014-11-26 09:29:25 +01:00