]> sourceware.org Git - lvm2.git/commit
Fix for bug 619221 - log device splitting regression
authorJonathan Earl Brassow <jbrassow@redhat.com>
Fri, 6 Aug 2010 15:38:32 +0000 (15:38 +0000)
committerJonathan Earl Brassow <jbrassow@redhat.com>
Fri, 6 Aug 2010 15:38:32 +0000 (15:38 +0000)
commitc63e78714a121d2924dcde49d95cb72cd8b3bcd5
tree917c7606e77b7f1afc14a7b3afa83ab5b51ccda5
parent2b34836c617dcc10801a01d627c035ad5df411ad
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>
WHATS_NEW
lib/metadata/mirror.c
tools/lvconvert.c
This page took 0.032051 seconds and 5 git commands to generate.