1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/lib
Jonathan Earl Brassow 8d2d4f1fa0 Fix for bug 619221 - log device splitting regression
An incorrect fix on July 13, 2010 for an annoyance has caused a regression.
The offending check-in was part of the 2.02.71 release of LVM.  That
check-in caused any PVs specified on the command line to be ignored when
performing a mirror split.

This patch reverses the aforementioned check-in (solving the regressions)
and posits a new solution to the list reversal problem.  The original
problem was that we would always take the lowest mimage LVs from a mirror
when performing a split, but what we really want is to take the highest
mimage LVs.  This patch accomplishes that by working through the list in
reverse order - choosing the higher numbered mimages first.  (This also
reduces the amount of processing necessary.)

Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Reviewed-by: Takahiro Yasui <takahiro.yasui@hds.com>
2010-08-06 15:38:32 +00:00
..
activate Fix const warning in dev_manager_info() and _dev_manager_lv_rmnodes(). 2010-08-03 13:13:01 +00:00
cache Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
commands remove unneeded header 2010-07-02 10:25:16 +00:00
config Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
datastruct Remove unnecessary / duplicate dm_list macros and functions. 2009-11-25 20:44:07 +00:00
device Use built-in rules for device aliases: block/ < dm- < disk/ < mapper/ < other. 2010-08-03 13:39:27 +00:00
display Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
error Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
filters Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
format1 Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
format_pool Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
format_text Avoid changing aligned pe_start as a side-effect of very verbose logging. 2010-08-03 18:19:42 +00:00
freeseg Fix reporting of LV fields alongside unallocated PV segments. 2008-06-25 16:52:27 +00:00
label Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
locking Use void parameter for function definition. 2010-08-03 13:06:35 +00:00
log Various cleanups following recent commits. 2010-06-21 15:56:57 +00:00
metadata Fix for bug 619221 - log device splitting regression 2010-08-06 15:38:32 +00:00
mirror Reduce severity of the "mirror transient status" log message (this was never 2010-08-04 15:55:03 +00:00
misc Change clvmd to communicate with lvm via a socket in /var/run/lvm. (mbroz) 2010-07-28 13:55:42 +00:00
mm Fix format string from patch apply mistake 2010-07-08 14:47:46 +00:00
replicator Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
report Clarify help text for vg_mda_count. 2010-07-21 19:44:25 +00:00
snapshot Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
striped Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
unknown Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
uuid Use log_error macro consistently throughout in place of log_err. 2009-07-15 20:02:46 +00:00
zero Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
Makefile.in Replicator: base lvm2 support 2010-05-21 12:36:30 +00:00