summaryrefslogtreecommitdiff
path: root/libdaemon
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2015-09-29 11:07:59 -0500
committerDavid Teigland <teigland@redhat.com>2015-09-29 11:28:48 -0500
commit634bf8c953caba4550463281fc0a90ee43c80c8d (patch)
treef46208d41db2a4bd8cf1f0e34d2294f6a7c65f39 /libdaemon
parentbe393f6722bd89f3fe98ab1be2f1dd41609a0172 (diff)
downloadlvm2-634bf8c953caba4550463281fc0a90ee43c80c8d.tar.gz
lockd: fix rescanning VG metadata
One host changes a VG, making the cached VG on another host invalid. The other host then rereads the VG from disk to get the latest copy. If the first host removed a PV from the VG, the second host attempts to reread the VG from old PV when rescanning. Reading the VG from the removed PV fails, causing vg_read to return "VG not found". The fix is to simply not fail when a VG is not found while rereading a PV and continue without it. (This doesn't happen if the second host happens to first run a command like 'vgs' that triggers a global revalidation of metadata.)
Diffstat (limited to 'libdaemon')
0 files changed, 0 insertions, 0 deletions