From: Ian Jackson Subject: Re: [OSSTEST PATCH 09/22] LVM: Break out lv_create Date: Wed, 11 Nov 2015 16:56:32 +0000 Message-ID: <22083.29504.56570.595399@mariner.uk.xensource.com> References: <1447185214-6551-1-git-send-email-ian.jackson@eu.citrix.com> <1447185214-6551-10-git-send-email-ian.jackson@eu.citrix.com> <1447235890.8556.22.camel@citrix.com> <22083.27927.555188.819741@mariner.uk.xensource.com> <1447260039.18450.29.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZwYhJ-0000gY-75 for xen-devel@lists.xenproject.org; Wed, 11 Nov 2015 16:56:37 +0000 In-Reply-To: <1447260039.18450.29.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: xen-devel@lists.xenproject.org, Robert Ho List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [OSSTEST PATCH 09/22] LVM: Break out lv_create"): > On Wed, 2015-11-11 at 16:30 +0000, Ian Jackson wrote: > > =A0There is a minor functional change: $gho->{Lvdev} has been put throu= gh > > =A0lv_dev_mapper.=A0=A0But we don't care about that in lv_create (since= the > > =A0LVM operations, and dd, are perfectly happy to use the `real', > > =A0non-/dev/mapper, names).=A0=A0So we can just use /dev/$vg/$lv. > = > That looks good. The "return $lvdev" from this new function would slightly > encourage using this path in other situations which are not lv* commands > and which might want the mapper version. I think this is a remote enough > possibility to not worry about, although maybe you want to add a comment. Yes, I guess, although if it breaks it will be obvious. I don't think I'll add a comment on that; it's obvious enough and the comment would be clutter. > In any case: > = > Acked-by: Ian Campbell Thanks, Ian.