From mboxrd@z Thu Jan 1 00:00:00 1970 From: mbroz@sourceware.org Date: 15 Jun 2009 13:43:17 -0000 Subject: LVM2 ./WHATS_NEW tools/lvconvert.c Message-ID: <20090615134317.11741.qmail@sourceware.org> List-Id: To: lvm-devel@redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: mbroz at sourceware.org 2009-06-15 13:43:16 Modified files: . : WHATS_NEW tools : lvconvert.c Log message: Suggest use lvchange --resync when up converting not yet synced mirror. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1150&r2=1.1151 http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/lvconvert.c.diff?cvsroot=lvm2&r1=1.80&r2=1.81 --- LVM2/WHATS_NEW 2009/06/15 12:15:23 1.1150 +++ LVM2/WHATS_NEW 2009/06/15 13:43:15 1.1151 @@ -1,5 +1,6 @@ Version 2.02.48 - =============================== + Suggest use lvchange --resync when up converting not yet synced mirror. Destroy toolcontext on exit in clvmd (fixes memory pool leaks). Fix lvconvert to not poll mirror if no conversion in progress. Fix memory leaks in toolcontext error path. --- LVM2/tools/lvconvert.c 2009/06/15 12:08:59 1.80 +++ LVM2/tools/lvconvert.c 2009/06/15 13:43:16 1.81 @@ -683,8 +683,8 @@ lp->need_polling = 1; } else if (lp->mirrors > existing_mirrors || failed_mirrors) { if (lv->status & MIRROR_NOTSYNCED) { - log_error("Not adding mirror to mirrored LV " - "without initial resync"); + log_error("Can't add mirror to out-of-sync mirrored " + "LV: use lvchange --resync first."); return 0; } /*