]> 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)
commitc054e7cc564afaab3cc215834d3c36ef082181a6
tree17870fdf1f8dd7e81bb4c83cc3fc38aa4f6f293e
parent21849a8587b48c3cb5813f00a4d947e2a9635832
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.038343 seconds and 5 git commands to generate.