]> sourceware.org Git - lvm2.git/commit
Fix pvmove --abort to work even for empty pvmove LV
authorMilan Broz <mbroz@redhat.com>
Mon, 23 Aug 2010 11:34:10 +0000 (11:34 +0000)
committerMilan Broz <mbroz@redhat.com>
Mon, 23 Aug 2010 11:34:10 +0000 (11:34 +0000)
commitbda6449118bafe79ec9f2e916a6af1b44ef04065
treed28c667abefc2d820753eab58d581c2b8df97679
parente6166e4498d1c278746f3a8811b47806ac3e1e27
Fix pvmove --abort to work even for empty pvmove LV

If pvmove crashed and metadata contains pvmove LV
but without miorrored segments, pvmove --abort
will not repair the situation (and finish wth success!).

Fix it by allowing metadata update if aborting
(thus removing pvmove LV) even if no moved LVs detected.

(Tested on real metadata provided by an lvm user:-)
WHATS_NEW
tools/polldaemon.c
tools/pvmove.c
This page took 0.030527 seconds and 5 git commands to generate.