Skip to content

Enhancements to a clustered logical volume activation

Vladislav Bogdanov linux-lvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 25 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10lvchange: Allow cluster lock conversionlib/locking/cluster_locking.c lib/locking/locking.c lib/locking/locking.h +1 more+68 -105 replies
2/10clvmd: Fix buffer sizedaemons/clvmd/clvmd.c+1 -10 replies
3/10clvmd: Allow node names to be obtained from corosync's CMAPdaemons/clvmd/clvmd-corosync.c+132 -150 replies
4/10clvmd: fix positive return value is not an error in csid->name translationdaemons/clvmd/clvmd.c+2 -20 replies
5/10clvmd: use correct flags for local command executiondaemons/clvmd/clvmd.c+6 -20 replies
6/10clvmd: additional debugging - print message bodiesdaemons/clvmd/clvmd.c+47 -50 replies
7/10locking: Allow lock management (activation, deactivation, conversion) on a remote nodeslib/activate/activate.c lib/activate/activate.h lib/locking/cluster_locking.c +4 more+101 -590 replies
8/10lvchange: implement remote lock managementlib/commands/toolcontext.h tools/args.h tools/commands.h +3 more+87 -200 replies
9/10man: document --force option to lvchange, provide examplesman/lvchange.8.in+17 -00 replies
10/10man: document --node option to lvchangeman/lvchange.8.in+26 -012 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [linux-lvm] [PATCH 00/10] Enhancements to a clustered logical volume activation

When using volumes in clustered volume groups, there is a need to convert cluster locks between shared and exclusive.
Shared lock is needed to be able to perform live VM migration, exclusive lock is needed to take LV shapshot (and just for safety).

Also, to use clvm as a locking mechanism for libvirt/qemu, there is a need to be able to perform LV lock conversion on a remote node (because last phase of live VM migration, when 'source' qemu process is actually killed and LV becomes not opened, is performed on a migration source node and there is no event available on a destination node to do local shared->exclusive conversion).

Vladislav Bogdanov (10):
lvchange: Allow cluster lock conversion
clvmd: Fix buffer size
clvmd: Allow node names to be obtained from corosync's CMAP
clvmd: fix positive return value is not an error in csid->name
translation
clvmd: use correct flags for local command execution
clvmd: additional debugging - print message bodies
locking: Allow lock management (activation, deactivation, conversion)
on a remote nodes
lvchange: implement remote lock management
man: document --force option to lvchange, provide examples
man: document --node option to lvchange