]> sourceware.org Git - lvm2.git/commit
lvmcache: new function to check if VG is foreign
authorDavid Teigland <teigland@redhat.com>
Mon, 30 Nov 2015 17:54:56 +0000 (11:54 -0600)
committerDavid Teigland <teigland@redhat.com>
Mon, 30 Nov 2015 17:54:56 +0000 (11:54 -0600)
commiteb22f7c8f7351a38fc4447f56ff588f497037c23
tree6326f0feffdf1e5428db430ce4d04f6210d4417d
parent05ac8367980afb0b660fc312b228337e256a38e8
lvmcache: new function to check if VG is foreign

When not using lvmetad, this uses the system_id field in
the cached vginfo structs that are populated during a scan.

When using lvmetad, this requests the VG from lvmetad, and
checks the system_id field in the returned metadata.
lib/cache/lvmcache.c
lib/cache/lvmcache.h
lib/cache/lvmetad.c
lib/cache/lvmetad.h
This page took 0.032711 seconds and 5 git commands to generate.