From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12618 invoked by alias); 15 Feb 2012 13:49:54 -0000 Received: (qmail 12600 invoked by uid 9737); 15 Feb 2012 13:49:53 -0000 Date: Wed, 15 Feb 2012 13:49:00 -0000 Message-ID: <20120215134953.12598.qmail@sourceware.org> From: zkabelac@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2 ./WHATS_NEW lib/thin/thin.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-02/txt/msg00111.txt.bz2 CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: zkabelac@sourceware.org 2012-02-15 13:49:52 Modified files: . : WHATS_NEW lib/thin : thin.c Log message: Initialize monitoring support only for thin pools Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.2293&r2=1.2294 http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/thin/thin.c.diff?cvsroot=lvm2&r1=1.45&r2=1.46 --- LVM2/WHATS_NEW 2012/02/13 20:13:39 1.2293 +++ LVM2/WHATS_NEW 2012/02/15 13:49:51 1.2294 @@ -1,5 +1,6 @@ Version 2.02.92 - ==================================== + Initialize monitoring support only for thin pools and skip thin volumes. Make conversion from a synced 'mirror' to 'raid1' not cause a full resync. Properly test buffer for unit check in units_to_bytes(). Add configure --with-systemdsystemunitdir. --- LVM2/lib/thin/thin.c 2012/01/25 21:54:00 1.45 +++ LVM2/lib/thin/thin.c 2012/02/15 13:49:52 1.46 @@ -602,7 +602,8 @@ #ifdef DEVMAPPER_SUPPORT # ifdef DMEVENTD - if (_get_thin_dso_path(cmd)) + if ((reg_segtypes[i].flags & SEG_THIN_POOL) && + _get_thin_dso_path(cmd)) segtype->flags |= SEG_MONITORED; # endif /* DMEVENTD */ #endif