1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 03:27:58 +03:00
lvm2/lib
Jonathan Earl Brassow c054e7cc56 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.
2011-02-18 00:36:04 +00:00
..
activate Fix for bug 677739: removing final exclusive cmirror snapshot, 2011-02-18 00:36:04 +00:00
cache Cache config_tree 2011-01-10 13:15:57 +00:00
commands Fix memory leak in filter creation error path 2011-01-06 15:29:24 +00:00
config Use memcpy and add error message 2011-01-28 10:19:00 +00:00
datastruct Some const cleanups 2010-12-20 13:19:13 +00:00
device Do not scan devices unnecessarily for reseting error counter 2011-01-17 15:16:55 +00:00
display Refactor the percent (mirror sync, snapshot usage) handling code to use 2010-11-30 11:53:31 +00:00
error Remove const usage from destroy callbacks 2010-12-20 13:32:49 +00:00
filters Use O_DIRECT when reading block devices. 2011-01-27 00:21:37 +00:00
format1 Remove unused variable label 2010-12-20 14:06:33 +00:00
format_pool Add internal error if pointer is uninitialized 2010-12-20 14:20:52 +00:00
format_text Increase hash table size to 1024 lv names and 64 pv uuids 2011-02-03 16:03:13 +00:00
freeseg Remove const usage from destroy callbacks 2010-12-20 13:32:49 +00:00
label Add dm_zalloc and use it and dm_pool_zalloc throughout. 2010-09-30 21:06:50 +00:00
locking Fix for bug 677739: removing final exclusive cmirror snapshot, 2011-02-18 00:36:04 +00:00
log Remove bufused for calculation 2010-10-26 08:53:25 +00:00
metadata Fix an lv_postorder bug where it failed to clear temporary flags, making it 2011-02-14 19:27:05 +00:00
mirror Remove unused variable mirr_state and its assignment 2011-01-05 12:27:56 +00:00
misc Fix CRC32 calculation on big endian CPU 2011-02-08 12:41:08 +00:00
mm Add more strict const pointers around config tree 2010-12-20 13:12:55 +00:00
replicator Remove const usage from destroy callbacks 2010-12-20 13:32:49 +00:00
report Return PERCENT_INVALID for error case 2011-01-05 12:33:51 +00:00
snapshot Remove const usage from destroy callbacks 2010-12-20 13:32:49 +00:00
striped Remove const usage from destroy callbacks 2010-12-20 13:32:49 +00:00
unknown Remove const usage from destroy callbacks 2010-12-20 13:32:49 +00:00
uuid Avoid rebuilding of uuid validation table 2011-01-28 10:14:08 +00:00
zero Remove const usage from destroy callbacks 2010-12-20 13:32:49 +00:00
Makefile.in Refactor the percent (mirror sync, snapshot usage) handling code to use 2010-11-30 11:53:31 +00:00