]> sourceware.org Git - lvm2.git/commit
Fix pvmove abort when temporary mirror fails to be cluster-aware.
authorMilan Broz <mbroz@redhat.com>
Wed, 27 Jan 2010 13:29:11 +0000 (13:29 +0000)
committerMilan Broz <mbroz@redhat.com>
Wed, 27 Jan 2010 13:29:11 +0000 (13:29 +0000)
commitb79d8b1ff08df93d212fcbb5d0dc55ac4366e1ba
tree6345bae23823881d59b5bb6d6d94a209e247d4cb
parent1c33c0027f111340483b392ad4d5b4fcd0de21b2
Fix pvmove abort when temporary mirror fails to be cluster-aware.

When activation of pvmove mirror fails on cluster, some nodes
still possibly succeeded in activation.

 - Explicitly deactivate that mirror to be sure
 - properly pair suspend/resume calls to not cause memory lock problems in clvmd

Code cannot simply call _finish_pvmove on cluster in this situation, because
changed LVs are suspended twice (causing memory inbalance) and also temporary
mirror is activated when it is not expected (and we know that it failed already).

Patch prepares special function which remove temporary mirror references from
metadata and then resumes changed LVs.
WHATS_NEW
tools/pvmove.c
This page took 0.035738 seconds and 5 git commands to generate.