From fa6a525c2d50d4f740d25ebac78f94c78618c857 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 4 Feb 2011 19:18:16 +0000 Subject: Use cluster-wide message to request device name sync Thanks to CLVMD_CMD_SYNC_NAMES propagation fix the message passing started to work. So starts to send a message before the VG is unlocked. Removing also implicit sync in VG unlock from clmvd as now the message is delievered and processed in do_command(). Also add support for this new message into external locking and mask this event from further processing. --- daemons/clvmd/clvmd-command.c | 1 - 1 file changed, 1 deletion(-) (limited to 'daemons/clvmd/clvmd-command.c') diff --git a/daemons/clvmd/clvmd-command.c b/daemons/clvmd/clvmd-command.c index 38727021..6d0dee4a 100644 --- a/daemons/clvmd/clvmd-command.c +++ b/daemons/clvmd/clvmd-command.c @@ -217,7 +217,6 @@ static int lock_vg(struct local_client *client) if (lkid == 0) return EINVAL; - lvm_do_fs_unlock(); /* Wait for devices */ status = sync_unlock(lockname, lkid); if (status) status = errno; -- cgit