]> sourceware.org Git - lvm2.git/commit
In some cases, we could end up with a mirrored LV without a MIRRORED flag. In
authorPetr Rockai <prokai@redhat.com>
Thu, 24 Mar 2011 12:28:02 +0000 (12:28 +0000)
committerPetr Rockai <prokai@redhat.com>
Thu, 24 Mar 2011 12:28:02 +0000 (12:28 +0000)
commit07834012c57e4931b6852e8ec90a910adee071ad
treeca1817f388de8f52b671fee9e35aa2269d09ce9b
parent123c9b8de517b652a61d59f3951191fe92e275d4
In some cases, we could end up with a mirrored LV without a MIRRORED flag. In
other cases, the code could wind up removing wrong number of mirrors. In yet
other cases, we could remove the right number of mirrors, but fail to respect
the removal preferences (i.e. keep an image that was requested to be removed
while removing an image that was requested to be kept). Under some
circumstances, remove_mirror_images could also get stuck in an infinite loop.

This patch should fix all of the above undesirable behaviours.

Signed-off-by: Petr Rockai <prockai@redhat.com>
Reviewed-by: Jonathan Brassow <jbrassow@redhat.com>
lib/metadata/mirror.c
This page took 0.037858 seconds and 5 git commands to generate.