]> sourceware.org Git - lvm2.git/commit
vg_read: reuse already parsed config tree
authorZdenek Kabelac <zkabelac@redhat.com>
Fri, 5 Mar 2021 22:04:44 +0000 (23:04 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 8 Mar 2021 14:30:18 +0000 (15:30 +0100)
commit936c7b5104e4fb6fb489845b87d9ba2cd1a69d0a
tree15f730e471874f58f3b1cdce3c60e30c61ae4ca8
parentbc0cb663043bb9c67151f88061ff22c53c6883ea
vg_read: reuse already parsed config tree

When parsing VG metadata we can create from a single config tree
also 'vg_committed' that is always created for writable VG.

This avoids extra uncessary step of serializing and deserilizing
just parsed VG.
lib/format_text/import.c
lib/metadata/metadata.c
lib/metadata/vg.c
lib/metadata/vg.h
This page took 0.033302 seconds and 5 git commands to generate.