diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2011-02-04 19:18:16 +0000 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2011-02-04 19:18:16 +0000 |
commit | fa6a525c2d50d4f740d25ebac78f94c78618c857 (patch) | |
tree | c70d138ec9bd42553464ac687712335c4305c892 /daemons/clvmd/clvmd-command.c | |
parent | f5f6dcbc623fcef927400b3662b7cf4eb75caf98 (diff) | |
download | lvm2-fa6a525c2d50d4f740d25ebac78f94c78618c857.tar.gz lvm2-fa6a525c2d50d4f740d25ebac78f94c78618c857.tar.xz lvm2-fa6a525c2d50d4f740d25ebac78f94c78618c857.zip |
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.
Diffstat (limited to 'daemons/clvmd/clvmd-command.c')
-rw-r--r-- | daemons/clvmd/clvmd-command.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; |