]> sourceware.org Git - lvm2.git/commit
Cache and share generated VG structs
authorZdenek Kabelac <zkabelac@redhat.com>
Thu, 11 Aug 2011 17:24:23 +0000 (17:24 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Thu, 11 Aug 2011 17:24:23 +0000 (17:24 +0000)
commit7ad0d47c3c93053c07c45161dbdbc0798ac7e2f6
tree81782eb22ec8f42f2078a1277234b59ca3636e76
parentcc2dcab09604507725e69b343bd0475269c66670
Cache and share generated VG structs

Extend vginfo cache with cached VG structure. So if the same metadata
are use, skip mda decoding in the case, the same data are in use.
This helps for operations like activation of all LVs in one VG,
where same data were decoded giving the same output result.

Patch adds 1-to-1 connection between volume_group and lvmcache_vginfo.
WHATS_NEW
lib/cache/lvmcache.c
lib/cache/lvmcache.h
lib/metadata/metadata.c
lib/metadata/vg.c
lib/metadata/vg.h
This page took 0.034087 seconds and 5 git commands to generate.