From patchwork Mon Aug 1 14:04:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xose Vazquez Perez X-Patchwork-Id: 9254429 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 0A8E460865 for ; Mon, 1 Aug 2016 14:08:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F0AC120499 for ; Mon, 1 Aug 2016 14:08:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E57E8284A7; Mon, 1 Aug 2016 14:08:52 +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=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mx6-phx2.redhat.com (mx6-phx2.redhat.com [209.132.183.39]) (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 6985220499 for ; Mon, 1 Aug 2016 14:08:52 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx6-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u71E50x1058842; Mon, 1 Aug 2016 10:05:00 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u71E4xqx029032 for ; Mon, 1 Aug 2016 10:04:59 -0400 Received: from mx1.redhat.com (ext-mx10.extmail.prod.ext.phx2.redhat.com [10.5.110.39]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u71E4xtL005894 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 1 Aug 2016 10:04:59 -0400 Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) (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 7A54D63708 for ; Mon, 1 Aug 2016 14:04:52 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id x83so26294220wma.3 for ; Mon, 01 Aug 2016 07:04:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=cJNWoVOKrO5+7XmOrKDCcnwra00i+1dQnllaSQVsp2s=; b=JQ/X05ENYmbVCHOS4Kmv//LBTMoIHLx4ZdIdRdiwgaKaJDU2h06XI26KcXJAjjBgYd W5cnsvrJ+llHmuXmpEIUJsuSdgp3GEm0s/lsP4RMSZa5KJNvFmCZ87nOv8I1fv+dzsJl jR3++H+6ax/z7Jr45GcrETuwfe9k+RlNxb1vph3+ETmDa6i2NtFYR4VCnGVH0TS8a849 Dqeo2dyfd4ukaQCXlKEOVE7JwR1sPfjsjIh9GCTa6LPEyXjDFVZH7n4Zn+EdtChzFsJI snGcE5KFIaYPyugCm0UY7oiS/OHYYlyjsknHts4DbZ5Faqe9c53DCfBUSlkUgW06xuLP k9kQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=cJNWoVOKrO5+7XmOrKDCcnwra00i+1dQnllaSQVsp2s=; b=X0aVP1rNxnIBwDn63KrooLJtQt14qnqHogyHqtq28SH4G5+oKCtCYUgGX+7fpxvtaS zpWUQR/CDiwOB6IBvgidbbax5FjWie9G0IfAq/HVbpaDp4xEjGVSnoq90kHqjSZzjTsl sYHM0OAOIRBZIchtDX5KmTL//ISIg88VGtkTMMqoi/z+rHyMofZ2ADYiTcuVEz77nUmG VXXnhIwfGp0grVDIG9PjZwc+QCRN4T442cOeBTG1lazDTrrc2OAeT+zI/REy2ENpQWdS qtuFmOEldgKafcLNLNBYjXDmc1/HIpBaTivuJ91ZAB/+bwOtLsFHYilxHiqkEDBcTJcE GVZg== X-Gm-Message-State: AEkoout8fdVZmXU9lWVVJHdA4zPTSMKGkRyw3dZxMT4bmnK3syuRIeKoijYWcyiV5BozfQ== X-Received: by 10.28.145.20 with SMTP id t20mr55574685wmd.74.1470060291172; Mon, 01 Aug 2016 07:04:51 -0700 (PDT) Received: from localhost ([46.222.247.10]) by smtp.gmail.com with ESMTPSA id m127sm17192526wmm.21.2016.08.01.07.04.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Aug 2016 07:04:50 -0700 (PDT) From: Xose Vazquez Perez To: Date: Mon, 1 Aug 2016 16:04:25 +0200 Message-Id: <1470060265-6636-1-git-send-email-xose.vazquez@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Mon, 01 Aug 2016 14:04:52 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Mon, 01 Aug 2016 14:04:52 +0000 (UTC) for IP:'74.125.82.67' DOMAIN:'mail-wm0-f67.google.com' HELO:'mail-wm0-f67.google.com' FROM:'xose.vazquez@gmail.com' RCPT:'' X-RedHat-Spam-Score: 0 (BAYES_50, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS) 74.125.82.67 mail-wm0-f67.google.com 74.125.82.67 mail-wm0-f67.google.com X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.39 X-loop: dm-devel@redhat.com Cc: device-mapper development , Xose Vazquez Perez Subject: [dm-devel] [PATCH] multipath-tools: remove -FAILBACK_IMMEDIATE from devices with no prio 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-Virus-Scanned: ClamAV using ClamSMTP Changed to FAILBACK_UNDEF(manual). Spotted by Hannes. Cc: Hannes Reinecke Cc: Christophe Varoqui Cc: device-mapper development Signed-off-by: Xose Vazquez Perez --- libmultipath/hwtable.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c index 8c074f9..dfd84dc 100644 --- a/libmultipath/hwtable.c +++ b/libmultipath/hwtable.c @@ -31,7 +31,7 @@ static struct hwentry default_hw[] = { .vendor = "COMPELNT", .product = "Compellent Vol", .pgpolicy = MULTIBUS, - .pgfailback = -FAILBACK_IMMEDIATE, + .pgfailback = FAILBACK_UNDEF, .no_path_retry = NO_PATH_RETRY_QUEUE, }, /* @@ -110,7 +110,7 @@ static struct hwentry default_hw[] = { .vendor = "HP", .product = "(MSA2[02]12fc|MSA2012i)", .pgpolicy = MULTIBUS, - .pgfailback = -FAILBACK_IMMEDIATE, + .pgfailback = FAILBACK_UNDEF, .no_path_retry = 18, .minio = 100, }, @@ -483,14 +483,14 @@ static struct hwentry default_hw[] = { .vendor = "AIX", .product = "VDASD", .pgpolicy = MULTIBUS, - .pgfailback = -FAILBACK_IMMEDIATE, + .pgfailback = FAILBACK_UNDEF, .no_path_retry = (300 / DEFAULT_CHECKINT), }, { /* IBM 3303 NVDISK */ .vendor = "IBM", .product = "3303 NVDISK", - .pgfailback = -FAILBACK_IMMEDIATE, + .pgfailback = FAILBACK_UNDEF, .no_path_retry = (300 / DEFAULT_CHECKINT), }, { @@ -799,7 +799,7 @@ static struct hwentry default_hw[] = { .product = "FlashArray", .selector = "queue-length 0", .pgpolicy = MULTIBUS, - .pgfailback = -FAILBACK_IMMEDIATE, + .pgfailback = FAILBACK_UNDEF, .fast_io_fail = 10, .dev_loss = 60, }, @@ -807,7 +807,7 @@ static struct hwentry default_hw[] = { .vendor = "HUAWEI", .product = "XSG1", .pgpolicy = MULTIBUS, - .pgfailback = -FAILBACK_IMMEDIATE, + .pgfailback = FAILBACK_UNDEF, }, /* * Violin Memory