]> sourceware.org Git - lvm2.git/commit
Fix remote metadata backup for clvmd
authorMilan Broz <mbroz@redhat.com>
Wed, 22 Apr 2009 09:39:45 +0000 (09:39 +0000)
committerMilan Broz <mbroz@redhat.com>
Wed, 22 Apr 2009 09:39:45 +0000 (09:39 +0000)
commit9e959f9bdd4b19c77c6746e7eff98224b7b3fb0d
treef8505069aea51ba926393fbaa2b6da45b2fd3acc
parent3ec8c63e28257afe09897ce32575c29a1183507a
Fix remote metadata backup for clvmd

Run backup of metadata on remote nodes in the
same place like local node - when calling backup().

Introduce backup_locally() which calls only
local backup if needed.

Remote backup is now trigerred by LCK_VG_BACKUP flag
combination (special VG lock).

This lock type will call check_current_backup()
(including backup_locally() call) and updates
metadata on all nodes.

(Patch fixes non-functional remote backup,
current call during VG lock never triggers.)
WHATS_NEW
daemons/clvmd/clvmd-command.c
lib/format_text/archiver.c
lib/format_text/archiver.h
lib/locking/cluster_locking.c
lib/locking/locking.h
This page took 0.040274 seconds and 5 git commands to generate.