From patchwork Sat Aug 12 16:30:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xose Vazquez Perez X-Patchwork-Id: 9897393 X-Patchwork-Delegate: christophe.varoqui@free.fr Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id AB53D60325 for ; Sat, 12 Aug 2017 16:31:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9C16426E46 for ; Sat, 12 Aug 2017 16:31:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8FA65289CE; Sat, 12 Aug 2017 16:31:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 14C5E26E46 for ; Sat, 12 Aug 2017 16:31:10 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E05F52CE945; Sat, 12 Aug 2017 16:30:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com E05F52CE945 Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=dm-devel-bounces@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com E05F52CE945 Authentication-Results: mx1.redhat.com; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="TY4YkXPw" Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id F067FA9C16; Sat, 12 Aug 2017 16:30:48 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 5E8F51800C8E; Sat, 12 Aug 2017 16:30:45 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id v7CGUh30016718 for ; Sat, 12 Aug 2017 12:30:43 -0400 Received: by smtp.corp.redhat.com (Postfix) id DCCACBD485; Sat, 12 Aug 2017 16:30:43 +0000 (UTC) Delivered-To: dm-devel@redhat.com Received: from mx1.redhat.com (ext-mx07.extmail.prod.ext.phx2.redhat.com [10.5.110.31]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D63C7BD48D for ; Sat, 12 Aug 2017 16:30:42 +0000 (UTC) Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 15235C0C2E25 for ; Sat, 12 Aug 2017 16:30:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 15235C0C2E25 Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=xose.vazquez@gmail.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 15235C0C2E25 Received: by mail-wr0-f196.google.com with SMTP id y67so4395562wrb.3 for ; Sat, 12 Aug 2017 09:30:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=XLEAPv5zcwYRvbdFHKOYRAOTdH5buv5mHAAxtqDTYec=; b=TY4YkXPwJyw1YCKgNCnfUkiB2VdiN5f7OSk4/hStSLRDEa/ca+SgDVUwJdXmvopCu6 TJFCVjdAL3w/8edSEctIS/DurYGh7+L/cRasIA7gPh3QB4ktLumYOMrNLYFF7dMiE32k DbUV+J7QkKCw9LRJvEC7iU602k0DWQJrchs/OdK8I0pUxAQslITQMsjPt4RliAZ+6s5z XJsnF/cmxmJ35TOOa7Hea9hOSgA0JML57r+VQ2skkg2oGMXokEasFAkQI2XxOq4MUAaB vAtmj/ZqwjZD4EVkZuTIxs+Cl85dwZKjUhXjglp7yn08wcHmjQs9DX8hDJWL/mtS01sG M2hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=XLEAPv5zcwYRvbdFHKOYRAOTdH5buv5mHAAxtqDTYec=; b=h4ra2Jj5ysMdKj2lSU7ZulTjqAd6kGvYiRPzLnSgz9LYTQTaPY9oLoq6AhDrDDecz2 7mB4UHNtUytswxOc3Ye0+DKalWarvF6lBIdjCBoN0PQ7eDdHTCVELbPDgqljH+tnG6Iq dygZTMwYd0BCeCtGTX94E1dLu7Sh7bxI8TGYl2ZJX5+iCuK7kyKKQn7y5pQAmaBkcjYf UawkfpWzt9lrK20N7IbKr3A/xqmYSZ87YJZtwhGjeNV840hlCrnnnGR6TAeJqJf7DbZa 1Y/2iePADtuK/6s/fuKmoXbYaEPeEVELHrAgOgCN9ti0SPt+PqcaonLKPQOiMCFf0PMI kzaw== X-Gm-Message-State: AHYfb5h58G1MGzU7BdnU5Bawubk5EM1XTtxbfKfLOpJS6S3sGNCGpwcl HuuHcCnKDcA9ARGW X-Received: by 10.223.161.133 with SMTP id u5mr14722409wru.191.1502555439046; Sat, 12 Aug 2017 09:30:39 -0700 (PDT) Received: from localhost (59.196.218.87.dynamic.jazztel.es. [87.218.196.59]) by smtp.gmail.com with ESMTPSA id 140sm1516458wmx.1.2017.08.12.09.30.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 12 Aug 2017 09:30:37 -0700 (PDT) From: Xose Vazquez Perez To: Date: Sat, 12 Aug 2017 18:30:36 +0200 Message-Id: <20170812163036.11816-1-xose.vazquez@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Sat, 12 Aug 2017 16:30:41 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Sat, 12 Aug 2017 16:30:41 +0000 (UTC) for IP:'209.85.128.196' DOMAIN:'mail-wr0-f196.google.com' HELO:'mail-wr0-f196.google.com' FROM:'xose.vazquez@gmail.com' RCPT:'' X-RedHat-Spam-Score: -3.01 (DCC_REPUT_13_19, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_PASS) 209.85.128.196 mail-wr0-f196.google.com 209.85.128.196 mail-wr0-f196.google.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.31 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: dm-devel@redhat.com Cc: device-mapper development , Xose Vazquez Perez Subject: [dm-devel] [PATCH] multipath-tools: add Dot Hill/Seagate arrays to hwtable X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Sat, 12 Aug 2017 16:30:52 +0000 (UTC) X-Virus-Scanned: ClamAV using ClamSMTP Cc: Christophe Varoqui Cc: device-mapper development Signed-off-by: Xose Vazquez Perez --- libmultipath/hwtable.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c index 9d3df11..b0ae466 100644 --- a/libmultipath/hwtable.c +++ b/libmultipath/hwtable.c @@ -1124,6 +1124,34 @@ static struct hwentry default_hw[] = { .retain_hwhandler = RETAIN_HWHANDLER_OFF, }, /* + * Dot Hill Systems - Seagate Technology + */ + { + /* SANnet family */ + .vendor = "DotHill", + .product = "SANnet", + .pgpolicy = MULTIBUS, + .no_path_retry = 30, + }, + { + /* R/Evolution family */ + .vendor = "DotHill", + .product = "R/Evo", + .pgpolicy = GROUP_BY_PRIO, + .pgfailback = -FAILBACK_IMMEDIATE, + .prio_name = PRIO_ALUA, + .no_path_retry = 30, + }, + { + /* AssuredSAN family */ + .vendor = "DotHill", + .product = "^DH", + .pgpolicy = GROUP_BY_PRIO, + .pgfailback = -FAILBACK_IMMEDIATE, + .prio_name = PRIO_ALUA, + .no_path_retry = 30, + }, + /* * EOL */ {