1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-09 01:18:39 +03:00
lvm2/lib
Jonathan Earl Brassow 9e277b9e2c Fix issue preventing cluster mirror creation.
Mirrors used to be created by first creating a linear device and then adding
the other images plus the log.  Now mirrors are created by creating all the
images in one go and then adding the log separately.  The new way ran into
the condition that cluster mirrors cannot change the log type (in the case
of creation, from core -> disk) while the mirror is not active.  (It isn't
active because it is in the process of being created.)  The reason this
condition is in place is because a remote node may have the mirror active, and
we don't want to alter the log underneath it.

What we really needed was a way of checking if the mirror was active remotely
but not locally, and in that case do not allow a change of the log.  I've added
this check, and cluster mirrors can now be created again.
2011-06-22 21:31:21 +00:00
..
activate Fix issue preventing cluster mirror creation. 2011-06-22 21:31:21 +00:00
cache Defer writing PV labels to vg_write. 2011-06-01 19:29:31 +00:00
commands Disable udev fallback by default and add activation/udev_fallback to lvm.conf. 2011-06-17 14:50:53 +00:00
config Disable udev fallback by default and add activation/udev_fallback to lvm.conf. 2011-06-17 14:50:53 +00:00
datastruct Better const cast logic 2011-04-08 14:14:57 +00:00
device Use new dev_open_readonly fn to prevent opening devices for read-write when not necessary. 2011-05-28 09:48:14 +00:00
display Fix some compile warnings on RHEL5 2011-03-01 20:17:56 +00:00
error Add lv_activate_opts structure 2011-06-17 14:14:19 +00:00
filters Add and use dev_open_readonly and variations. 2011-05-24 13:36:57 +00:00
format1 Defer writing PV labels to vg_write. 2011-06-01 19:29:31 +00:00
format_pool Use new dev_open_readonly fn to prevent opening devices for read-write when not necessary. 2011-05-28 09:48:14 +00:00
format_text Code move of vg_mark_partial() up in stack 2011-06-17 14:39:10 +00:00
freeseg Replace malloc with zalloc when creating segment_type's 2011-03-25 21:59:42 +00:00
label Report sector containing label in verbose message. 2011-06-01 15:30:36 +00:00
locking Major pvmove fix to issue ioctls in the correct order when multiple LVs 2011-06-11 00:03:06 +00:00
log pre-release clean-ups 2011-04-29 00:21:13 +00:00
metadata Fix issue preventing cluster mirror creation. 2011-06-22 21:31:21 +00:00
mirror Use lv_activate_opts struct instead of ACTIVATE_EXCL status flag. 2011-06-17 14:17:16 +00:00
misc Fix create_temp_name to replace any '/' found in the hostname with '?'. 2011-06-08 08:49:53 +00:00
mm Maintain a count of the number of suspended devices in libdevmapper 2011-06-13 03:32:45 +00:00
replicator Add lv_activate_opts structure 2011-06-17 14:14:19 +00:00
report This patchset refactors some reporting code and completes the remaining 2011-04-12 12:24:29 +00:00
snapshot Use lv_activate_opts struct instead of ACTIVATE_EXCL status flag 2011-06-17 14:22:48 +00:00
striped Add lv_activate_opts structure 2011-06-17 14:14:19 +00:00
unknown Add lv_activate_opts structure 2011-06-17 14:14:19 +00:00
uuid Const fixing 2011-02-18 14:47:28 +00:00
zero Add lv_activate_opts structure 2011-06-17 14:14:19 +00:00
Makefile.in Refactor the percent (mirror sync, snapshot usage) handling code to use 2010-11-30 11:53:31 +00:00