]> sourceware.org Git - lvm2.git/commit
Fix for bug 677739: removing final exclusive cmirror snapshot,
authorJonathan Earl Brassow <jbrassow@redhat.com>
Fri, 18 Feb 2011 00:36:04 +0000 (00:36 +0000)
committerJonathan Earl Brassow <jbrassow@redhat.com>
Fri, 18 Feb 2011 00:36:04 +0000 (00:36 +0000)
commit8f1cc91a848e90e7e1c03bf141cf1a88ac17e6e4
tree17870fdf1f8dd7e81bb4c83cc3fc38aa4f6f293e
parent9c1b1924425120e9d03554c862dd72a1216a0b7c
Fix for bug 677739: removing final exclusive cmirror snapshot,
                    results in clvmd deadlock

When a logical volume is activated exclusively in a cluster, the
local (non-cluster-aware) target is used.  However, when creating
a snapshot on the exclusive LV, the resulting suspend/resume fails
to load the appropriate device-mapper table - instead loading the
cluster-aware target.

This patch adds an 'exclusive' parameter to the pertinent resume
functions to allow for the right target type to be loaded.
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.03228 seconds and 5 git commands to generate.