]> sourceware.org Git - lvm2.git/commit
Fix splitmirror in cluster having different DM/LVM views of storage.
authorJonathan Earl Brassow <jbrassow@redhat.com>
Thu, 6 Oct 2011 14:55:39 +0000 (14:55 +0000)
committerJonathan Earl Brassow <jbrassow@redhat.com>
Thu, 6 Oct 2011 14:55:39 +0000 (14:55 +0000)
commitb19f01212e3bf47b6d41568b0b3567106c87f99b
treebb2af2283dbc6b235237c02ad55476759c587d96
parent6c0b0e5d9a79349fb3acd03780c184f72da62e55
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.
WHATS_NEW
lib/activate/activate.c
lib/activate/activate.h
lib/metadata/mirror.c
This page took 0.03108 seconds and 5 git commands to generate.