1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/lib
Jonathan Earl Brassow 27ff8813da 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.
2011-02-04 20:30:17 +00:00
..
activate Allow snapshots in a cluster as long as they are exclusively 2011-02-04 20:30:17 +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 Allow snapshots in a cluster as long as they are exclusively 2011-02-04 20:30:17 +00:00
log Remove bufused for calculation 2010-10-26 08:53:25 +00:00
metadata Allow snapshots in a cluster as long as they are exclusively 2011-02-04 20:30:17 +00:00
mirror Remove unused variable mirr_state and its assignment 2011-01-05 12:27:56 +00:00
misc Skip NULL check before dm_free 2011-01-28 10:16:04 +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