]> sourceware.org Git - lvm2.git/commit
lvmetad: fix use committed metadata to update
authorDavid Teigland <teigland@redhat.com>
Wed, 20 Jul 2016 15:18:58 +0000 (10:18 -0500)
committerDavid Teigland <teigland@redhat.com>
Wed, 20 Jul 2016 15:25:26 +0000 (10:25 -0500)
commit6ea250e2d05aeb55c883aafa0a98e97660dfd633
tree568cfab6ee6fb2bb4bd5bbd929cea643ff2bca41
parent7eb79091937d01eec51fc6a034879a6fe607231d
lvmetad: fix use committed metadata to update

In some cases, the command will update VG metadata
in lvmetad without writing it.  In these cases there
is no vg->vg_committed and it should use 'vg' directly.
This happens when the command finds that the lvmetad
VG has been invalidated, rereads the metadata from disk,
then updates lvmetad with that metadata.  This happens
often with lvmlockd or foreign VGs, and can happen without
lvmlockd if a previous command fails after invalidating
the VG in lvmetad.
lib/cache/lvmetad.c
This page took 0.037238 seconds and 5 git commands to generate.