]> 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)
commit0e06c92fdf1973bf8a8e0096b7beaf6fc687f10e
treeccb8eee0ad22a7a515de951c2f4d49ce7f926297
parentc9118a1d20b27bcd51a7396881128381115a230f
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.037597 seconds and 5 git commands to generate.