]> sourceware.org Git - lvm2.git/commit
Propagate commit and revert metadata event to other nodes in cluster.
authorMilan Broz <mbroz@redhat.com>
Tue, 5 Jan 2010 16:09:33 +0000 (16:09 +0000)
committerMilan Broz <mbroz@redhat.com>
Tue, 5 Jan 2010 16:09:33 +0000 (16:09 +0000)
commitff442c1e28c029b4a5d911324b96301503a5d715
treeccb8eee0ad22a7a515de951c2f4d49ce7f926297
parent5cedaa972a726b217fcca39676088a8a14c543ba
Propagate commit and revert metadata event to other nodes in cluster.

This patch tries to correctly track changes in lvmcache related to commit/revert.

For vg_commit: if there is cached precommitted metadata, after successfull commit
these metadata must be tracked as committed.

For vg_revert: remote nodes must drop precommitted metadata and its flag in lvmcache.

(N.B. Patch do not touch LV locks here in any way.)

All this machinery is needed to properly solve remote node cache invalidaton which
cause several problems recently observed.
WHATS_NEW
daemons/clvmd/lvm-functions.c
lib/locking/locking.h
lib/metadata/metadata.c
This page took 0.041775 seconds and 5 git commands to generate.