1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-31 05:47:43 +03:00
David Teigland 4ff2583dc5 process_each: always use list of vgnames on system
This makes process_each_vg/lv always use the list of
vgnames on the system.  When specific VGs are named on
the command line, the corresponding entries from
vgnameids_on_system are moved to vgnameids_to_process.

Previously, when specific VGs were named on the command
line, the vgnameids_on_system list was not created, and
vgnameids_to_process was created from the arg_vgnames
list (which is only names, without vgids).

Now, vgnameids_on_system is always created, and entries
are moved from that list to vgnameids_to_process -- either
some (when arg_vgnames specifies only some), or all (when
the command is processing all VGs, or needs to look at
all VGs for checking tags/selection).

This change adds one new lvmetad lookup (vg_list) to a
command that specifies VG names.  It adds no new work
for other commands, e.g. non-lvmetad commands, or
commands that look at all VGs.

When using lvmetad, 'lvs foo' previously sent one
request to lvmetad: 'vg_lookup foo'.
Now, 'lvs foo' sends two requests to lvmetad:
'vg_list' and 'vg_lookup foo <uuid>'.

(The lookup can now always include the uuid in the request
because the initial vg_list contains name/vgid pairs.)
2015-12-01 09:09:49 -06:00
..
2015-11-09 17:04:10 +01:00
2008-01-30 14:00:02 +00:00
2015-07-06 17:30:18 +01:00
2008-01-30 14:00:02 +00:00
2015-08-10 00:35:15 +01:00
2015-07-02 15:42:26 -05:00
2015-07-02 15:42:26 -05:00
2015-07-02 15:42:26 -05:00
2015-07-02 15:42:26 -05:00
2015-10-19 16:15:51 -05:00
2015-11-13 11:17:05 +01:00
2014-01-30 13:09:15 +00:00
2015-07-06 17:30:18 +01:00
2015-08-12 14:11:18 +02:00
2015-07-13 14:07:57 -05:00
2015-10-23 10:21:06 -05:00
2015-07-13 14:07:57 -05:00
2015-07-02 15:42:26 -05:00
2015-07-02 15:42:26 -05:00