1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00
lvm2/lib/metadata
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
..
lv_alloc.h Fix pvmove allocation to take existing parallel stripes into account. 2010-04-08 00:28:57 +00:00
lv_manip.c Allow snapshots in a cluster as long as they are exclusively 2011-02-04 20:30:17 +00:00
lv.c Refactor the percent (mirror sync, snapshot usage) handling code to use 2010-11-30 11:53:31 +00:00
lv.h Add the macro and specific 'get' functions for lvsegs. 2010-11-17 20:08:14 +00:00
merge.c Replicator: check replicator segment 2010-05-21 12:43:02 +00:00
metadata-exported.h Replace fs_unlock by sync_local_dev_names to notify local clvmd. (2.02.80) 2011-01-12 20:42:50 +00:00
metadata.c Replace fs_unlock by sync_local_dev_names to notify local clvmd. (2.02.80) 2011-01-12 20:42:50 +00:00
metadata.h Change import_vg_from_buffer to use config_tree 2011-01-10 13:13:42 +00:00
mirror.c Fix lvchange --test to exit cleanly. 2011-01-24 14:19:05 +00:00
pv_alloc.h Fix all segments memory is allocated from vg private mempool. 2010-03-31 17:23:18 +00:00
pv_manip.c Fix all segments memory is allocated from vg private mempool. 2010-03-31 17:23:18 +00:00
pv_map.c Allow ALLOC_ANYWHERE to split contiguous areas. 2010-03-25 21:19:26 +00:00
pv_map.h Remove superfluous fn prototypes. 2010-07-09 15:21:10 +00:00
pv.c Fix copyright dates on new files lib/metadata/{lv|vg|pv}.[ch]. 2010-09-30 20:47:18 +00:00
pv.h fix header #defines 2010-10-25 12:01:59 +00:00
replicator_manip.c Rename vg_release to free_vg. 2010-12-08 20:50:48 +00:00
segtype.c Handle metadata with unknown segment types more gracefully. 2009-10-16 17:41:49 +00:00
segtype.h Remove const usage from destroy callbacks 2010-12-20 13:32:49 +00:00
snapshot_manip.c When removing a snapshot avoid preloading the origin if the 2010-04-23 02:57:39 +00:00
vg.c pre-release 2010-10-25 13:54:29 +00:00
vg.h Use const char * for name and old_name in vg 2010-12-20 13:40:46 +00:00