From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8084 invoked by alias); 16 May 2012 12:50:17 -0000 Received: (qmail 8065 invoked by uid 9447); 16 May 2012 12:50:17 -0000 Date: Wed, 16 May 2012 12:50:00 -0000 Message-ID: <20120516125017.8063.qmail@sourceware.org> From: agk@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2 ./WHATS_NEW lib/activate/dev_manager.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: 2012-05/txt/msg00023.txt.bz2 CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: agk@sourceware.org 2012-05-16 12:50:16 Modified files: . : WHATS_NEW lib/activate : dev_manager.c Log message: Re-enable partial activation of non-thin LVs until it can be fixed. (2.02.90) - The test should be checking the LV as a whole, not just individual segments. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.2405&r2=1.2406 http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/activate/dev_manager.c.diff?cvsroot=lvm2&r1=1.278&r2=1.279 --- LVM2/WHATS_NEW 2012/05/14 16:18:58 1.2405 +++ LVM2/WHATS_NEW 2012/05/16 12:50:14 1.2406 @@ -1,5 +1,6 @@ Version 2.02.96 - ================================ + Re-enable partial activation of non-thin LVs until it can be fixed. (2.02.90) Fix alloc cling to cling to PVs already found with contiguous policy. Fix cling policy not to behave like normal policy if no previous LV seg. Fix allocation loop not to use later policies when --alloc cling without tags. --- LVM2/lib/activate/dev_manager.c 2012/04/24 00:51:26 1.278 +++ LVM2/lib/activate/dev_manager.c 2012/05/16 12:50:15 1.279 @@ -1581,22 +1581,6 @@ seg->lv->vg->name, seg->lv->name); return 0; } - - /* - * Mirrors activate LVs replaced with error targets and - * RAID can handle non-accessible sub-LVs. - * - * TODO: Can we eventually skip to activate such LVs ? - */ - if (!num_existing_areas && - !strstr(seg->lv->name, "_rmeta_") && - !strstr(seg->lv->name, "_rimage_") && - !strstr(seg->lv->name, "_mimage_") && - !((name = strstr(seg->lv->name, "_mlog")) && !name[5])) { - log_error("Cannot activate %s/%s: all segments missing.", - seg->lv->vg->name, seg->lv->name); - return 0; - } } return 1;