1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 20:25:52 +03:00
lvm2/lib/metadata
Jonathan Earl Brassow b19f01212e Fix splitmirror in cluster having different DM/LVM views of storage.
This patch also does some clean-up of the splitmirrors code.

I've attempted to clean-up the splitmirrors code to make it easier to
understand with fewer operations.  I've tried to reduce the number of
metadata operations without compromising the intermediate stages which
are necessary for easy clean-up in the even of failure.

These changes now correctly handle cluster situations - including exclusive
cluster mirrors.  Whereas before, a splitmirror operation would result in
remote nodes having LVM commands report the newly split LV with a proper
name while DM commands would report the old (pre-split) names of the device.
IOW, there was a kernel/userspace mismatch.
2011-10-06 14:55:39 +00:00
..
lv_alloc.h lvcreate parsing for thin provisioning. 2011-09-06 00:26:42 +00:00
lv_manip.c Add code to activate thin target 2011-10-03 18:43:39 +00:00
lv.c Add 'Volume Type' lv_attr characters for RAID and RAID_IMAGE. 2011-09-23 15:17:54 +00:00
lv.h Add a new 'thin_pool' output field to 'lvs. 2011-09-09 00:54:49 +00:00
merge.c Move defines to header 2011-10-06 11:05:56 +00:00
metadata-exported.h Add experimental code for activation of thinp targets 2011-09-29 08:56:38 +00:00
metadata.c Abort if _finish_pvmove suspend_lvs fails instead of cleaning up incompletely. 2011-09-27 17:09:42 +00:00
metadata.h Add simple function for lookup of some free device_id 2011-10-03 18:39:17 +00:00
mirror.c Fix splitmirror in cluster having different DM/LVM views of storage. 2011-10-06 14:55:39 +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 Improve the discard documentation. Also improve discard code in 2011-04-13 18:26:39 +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 Terminate pv_attr field correctly. (2.02.86) 2011-09-07 13:42:00 +00:00
pv.h Defer writing PV labels to vg_write. 2011-06-01 19:29:31 +00:00
raid_manip.c When up-converting a RAID1 array, we need to allocate new larger arrays for 2011-09-22 15:33:21 +00:00
replicator_manip.c add thin_manip.c like the other manip files 2011-09-06 19:25:42 +00:00
segtype.c Handle metadata with unknown segment types more gracefully. 2009-10-16 17:41:49 +00:00
segtype.h Move the core of the lib/config/config.c functionality into libdevmapper, 2011-08-30 14:55:15 +00:00
snapshot_manip.c Fix potential null ptr deref in 'origin_from_cow' 2011-07-19 16:23:52 +00:00
thin_manip.c Missed rename pool->thin_pool 2011-10-03 19:10:52 +00:00
vg.c Cache and share generated VG structs 2011-08-11 17:24:23 +00:00
vg.h Cache and share generated VG structs 2011-08-11 17:24:23 +00:00