Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 602E9C433F5 for ; Mon, 2 May 2022 20:30:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1651523455; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=aNxUCOgMf53twA1vKvIc0xHraL++68G2vT2NJhap53Y=; b=MdUOifG1vKDx8wm7wXnOKGgM5Eym//E9pZsjaeKPIC6Yp1bDkVCbajpbu2L2ulAlwM7Q81 mIVxyOBR6mCzTDj5rO4oSfq7j1v385FIfC9igQY4ZhG5ip8CcPQBJ1VVufn8njCodXtXLS Ri2qSwB8TT+BUm6w/TzRj6ac97Hrp1w= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-373-OgE_Ldr5PJut6E74j505Mw-1; Mon, 02 May 2022 16:30:54 -0400 X-MC-Unique: OgE_Ldr5PJut6E74j505Mw-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 570CD85A5A8; Mon, 2 May 2022 20:30:52 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 747FE463DF7; Mon, 2 May 2022 20:30:50 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id E5DBE1947043; Mon, 2 May 2022 20:30:49 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 350F31947042 for ; Mon, 2 May 2022 20:30:49 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id D5463463E06; Mon, 2 May 2022 20:30:48 +0000 (UTC) Received: from octiron.msp.redhat.com (octiron.msp.redhat.com [10.15.80.209]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C4167463DF7; Mon, 2 May 2022 20:30:48 +0000 (UTC) Received: from octiron.msp.redhat.com (localhost.localdomain [127.0.0.1]) by octiron.msp.redhat.com (8.14.9/8.14.9) with ESMTP id 242KUlme015452; Mon, 2 May 2022 15:30:47 -0500 Received: (from bmarzins@localhost) by octiron.msp.redhat.com (8.14.9/8.14.9/Submit) id 242KUlfZ015451; Mon, 2 May 2022 15:30:47 -0500 Date: Mon, 2 May 2022 15:30:46 -0500 From: Benjamin Marzinski To: Martin Wilck Message-ID: <20220502203046.GT24684@octiron.msp.redhat.com> References: <1651270144-29953-1-git-send-email-bmarzins@redhat.com> <20220502160140.GR24684@octiron.msp.redhat.com> MIME-Version: 1.0 In-Reply-To: <20220502160140.GR24684@octiron.msp.redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 Subject: Re: [dm-devel] [PATCH] update HPE MSA builtin config X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "dm-devel@redhat.com" , "Jon.Paul@hpe.com" , "xose.vazquez@gmail.com" Errors-To: dm-devel-bounces@redhat.com Sender: "dm-devel" X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dm-devel-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Mon, May 02, 2022 at 11:01:40AM -0500, Benjamin Marzinski wrote: > On Mon, May 02, 2022 at 10:31:36AM +0000, Martin Wilck wrote: > > On Fri, 2022-04-29 at 17:09 -0500, Benjamin Marzinski wrote: > > > Make the config better align to MSA 4th, 5th and 6th Generation > > > systems. > > >=20 > > > Suggested-by: Jon Paul > > > Signed-off-by: Benjamin Marzinski > > > --- > > > =A0libmultipath/hwtable.c | 4 ++-- > > > =A01 file changed, 2 insertions(+), 2 deletions(-) > > >=20 > > > diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c > > > index 0e1c0a41..0f0795c3 100644 > > > --- a/libmultipath/hwtable.c > > > +++ b/libmultipath/hwtable.c > > > @@ -182,8 +182,8 @@ static struct hwentry default_hw[] =3D { > > > =A0=A0=A0=A0=A0=A0=A0=A0}, > > > =A0=A0=A0=A0=A0=A0=A0=A0{ > > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0/* MSA 1040, 1050, 10= 60, 2040, 2050 and 2060 families > > > */ > > > -=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0.vendor=A0=A0=A0=A0=A0= =A0=A0 =3D "HP", > > > -=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0.product=A0=A0=A0=A0=A0= =A0 =3D "MSA [12]0[456]0 SA[NS]", > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0.vendor=A0=A0=A0=A0=A0= =A0=A0 =3D "(HP|HPE)", > >=20 > > This changes nothing unless you use "^(HP|HPE)$", as our regex matching > > is by substring. >=20 > Fair enough. I'm just passing along the config I got. I'm not sure if > they what it to be more immediately obvious to people looking at the > configs that this applies to their device (which could have a vendor > string of "HPE"). I'll leave it to HP to decide what, if anything, they > want to change here. I've talked to HP, and they would like to keep (HP|HPE), since they feel that it's more obvious to readers. They are fine with whatever anchors we feel should be added to the regular expression. I personally don't think it matters much. Most of our vendor strings are unanchored and since the product string must also match, it seems unlikely to cause issues. Do you have a strong feeling on this? Otherwise, I'm fine with the config as they gave it to me. -Ben >=20 > -Ben=20 > =20 > > Regards, > > Martin > >=20 > >=20 > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0.product=A0=A0=A0=A0=A0= =A0 =3D "MSA [12]0[456]0 > > > (SAN|SAS|FC|iSCSI)", > > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0.pgpolicy=A0=A0=A0=A0= =A0 =3D GROUP_BY_PRIO, > > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0.pgfailback=A0=A0=A0 = =3D -FAILBACK_IMMEDIATE, > > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0.no_path_retry =3D 18= , > >=20 > -- > dm-devel mailing list > dm-devel@redhat.com > https://listman.redat.com/mailman/listinfo/dm-devel -- dm-devel mailing list dm-devel@redhat.com https://listman.redhat.com/mailman/listinfo/dm-devel