]> sourceware.org Git - lvm2.git/commit - lib/activate/activate.c
Preserve exclusive activation of cluster mirror when converting.
authorJonathan Earl Brassow <jbrassow@redhat.com>
Fri, 20 Jan 2012 00:27:18 +0000 (00:27 +0000)
committerJonathan Earl Brassow <jbrassow@redhat.com>
Fri, 20 Jan 2012 00:27:18 +0000 (00:27 +0000)
commit25d1410592aa4b928a8449038dab2eefab3d6e61
tree71a45a07d8471cd4af283c30078f66c1b83f9f0d
parent2f65269b77e3856591b7f83fa379044acdadbeab
Preserve exclusive activation of cluster mirror when converting.

This patch to the suspend code - like the similar change for resume -
queries the lock mode of a cluster volume and records whether it is active
exclusively.  This is necessary for suspend due to the possibility of
preloading targets.  Failure to check to exclusivity causes the cluster target
of an exclusively activated mirror to be used when converting - rather than
the single machine target.
WHATS_NEW
daemons/clvmd/lvm-functions.c
lib/activate/activate.c
lib/activate/activate.h
lib/locking/file_locking.c
lib/locking/no_locking.c
This page took 0.028987 seconds and 5 git commands to generate.