]> sourceware.org Git - lvm2.git/commit
Allow snapshots in a cluster as long as they are exclusively
authorJonathan Earl Brassow <jbrassow@redhat.com>
Fri, 4 Feb 2011 20:30:17 +0000 (20:30 +0000)
committerJonathan Earl Brassow <jbrassow@redhat.com>
Fri, 4 Feb 2011 20:30:17 +0000 (20:30 +0000)
commit27ff8813da360da17c974f47e6e376fefddfd2f5
tree5ca4fe5bcd77a54a2caa1be6f78fbd734bdf2b1c
parent880507498a16603b9bf874d60433f88ab6d7d0b8
Allow snapshots in a cluster as long as they are exclusively
activated.

In order to achieve this, we need to be able to query whether
the origin is active exclusively (a condition of being able to
add an exclusive snapshot).

Once we are able to query the exclusive activation of an LV, we
can safely create/activate the snapshot.

A change to 'hold_lock' was also made so that a request to aquire
a WRITE lock did not replace an EX lock, which is already a form
of write lock.
WHATS_NEW
daemons/clvmd/lvm-functions.c
lib/activate/activate.c
lib/activate/activate.h
lib/activate/dev_manager.c
lib/locking/locking.c
lib/locking/locking.h
lib/metadata/lv_manip.c
tools/vgchange.c
This page took 0.034448 seconds and 5 git commands to generate.