From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17507 invoked by alias); 26 Apr 2010 18:12:48 -0000 Received: (qmail 17464 invoked by uid 9447); 26 Apr 2010 18:12:47 -0000 Date: Mon, 26 Apr 2010 18:12:00 -0000 Message-ID: <20100426181247.17458.qmail@sourceware.org> From: agk@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2/tools lvconvert.c Mailing-List: contact lvm2-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: lvm2-cvs-owner@sourceware.org X-SW-Source: 2010-04/txt/msg00134.txt.bz2 CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: agk@sourceware.org 2010-04-26 18:12:44 Modified files: tools : lvconvert.c Log message: add comments Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/lvconvert.c.diff?cvsroot=lvm2&r1=1.130&r2=1.131 --- LVM2/tools/lvconvert.c 2010/04/21 14:04:26 1.130 +++ LVM2/tools/lvconvert.c 2010/04/26 18:12:40 1.131 @@ -1195,6 +1195,9 @@ if (!_lv_update_log_type(cmd, lp, lv, failed_pvs, new_log_count)) return 0; + /* + * Remove all failed_pvs + */ if (!_lvconvert_mirrors_aux(cmd, lv, lp, failed_pvs, lp->mirrors, new_log_count)) return 0; @@ -1570,6 +1573,9 @@ if (!lv) goto_out; + /* + * lp->pvh holds the list of PVs available for allocation or removal + */ if (lp->pv_count) { if (!(lp->pvh = create_pv_list(cmd->mem, lv->vg, lp->pv_count, lp->pvs, 0)))