Message ID | 1471115025-8137-1-git-send-email-xose.vazquez@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dm-devel-bounces@redhat.com> 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 55567600CB for <patchwork-dm-devel@patchwork.kernel.org>; Sat, 13 Aug 2016 19:07:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2834C28A7C for <patchwork-dm-devel@patchwork.kernel.org>; Sat, 13 Aug 2016 19:07:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 06CCB28AB6; Sat, 13 Aug 2016 19:07:57 +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, UPPERCASE_50_75 autolearn=ham version=3.3.1 Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 505FB28A7C for <patchwork-dm-devel@patchwork.kernel.org>; Sat, 13 Aug 2016 19:07:55 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u7DJ3phA028938; Sat, 13 Aug 2016 15:03:53 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u7DJ3o1s001574 for <dm-devel@listman.util.phx.redhat.com>; Sat, 13 Aug 2016 15:03:50 -0400 Received: from mx1.redhat.com (ext-mx09.extmail.prod.ext.phx2.redhat.com [10.5.110.38]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u7DJ3nre015048 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <dm-devel@redhat.com>; Sat, 13 Aug 2016 15:03:50 -0400 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) (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 F1BAB4E330 for <dm-devel@redhat.com>; Sat, 13 Aug 2016 19:03:48 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id i5so3624737wmg.2 for <dm-devel@redhat.com>; Sat, 13 Aug 2016 12:03:48 -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=VlFPWCXsO+CjFJSocmQk/O6zwSXA36byoY4lPRQtFd0=; b=wgScrKkPU6hRrNySI8w7fdUEXjxDy3T16nAfv/P9oI2kXNDCraDjRuVR9G1NTQBwW7 0fF5p/QJWcTVach3KRWkh4L4pk8NJPvWa6P6Lm3g0XrAhtZDA9H+XVr7K5f7h07+NFvz Xv8LGF1kKL5gj25eL/l4jIZA7bGy1gaWXaAV/zPVRHBve/NiEo6zLdiy4Sqn/yNcWYbE 0qs+EO2BkLVEagBDoLN60vX7fhz1fNSF/WSbktEow+CAxfiYhb9ecW9WiQHQvHNfHXjP 3Kezv/9HsaFypumV53uZ1eV51EtH2fLLAHCmNvP2Zb+XZSIqXgOEkWkUBsVSuXdOS/g1 bEGA== 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=VlFPWCXsO+CjFJSocmQk/O6zwSXA36byoY4lPRQtFd0=; b=WzR9KzsvKdsykV4oOIWCkE3RdZGfkkYwBmeL7G16q7MqRu0+9tiWtETLGFqYDvd/gI a8dFl9BhzmcKCTpaCX6GhkhbmKzU9y64Nd1RR5mVu2HIRN5bvxm2TncrVmcNV//t20tz f7gDeSGF018mqYAWWTKHBwZUN7RbhMWlM9i/WMwtTfj8denV3vwbs4ukfCuIjY8pMY4R oEjquixzpmXovb+b1hji2xnhCY2kAvtzywvEeWdUBeDcMYTvXJMqHWp+GFDAhqWkRgp/ dk9s2/e+HUJdm8tlwoR3T36TKl60pEzGLLtgxD4urtvBfZx8faaRP0wSWQpg6sHYTonf YDNg== X-Gm-Message-State: AEkoouubWct13nuyHG7eiRNTO6ehK9Vj+hW0Yx9bN/3C8PWOnRPp10bUTmNwOgrXCjqIbg== X-Received: by 10.194.88.137 with SMTP id bg9mr21386091wjb.155.1471115027619; Sat, 13 Aug 2016 12:03:47 -0700 (PDT) Received: from localhost (193.173.78.188.dynamic.jazztel.es. [188.78.173.193]) by smtp.gmail.com with ESMTPSA id x133sm8316326wmf.16.2016.08.13.12.03.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 Aug 2016 12:03:46 -0700 (PDT) From: Xose Vazquez Perez <xose.vazquez@gmail.com> To: Date: Sat, 13 Aug 2016 21:03:45 +0200 Message-Id: <1471115025-8137-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.38]); Sat, 13 Aug 2016 19:03:49 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Sat, 13 Aug 2016 19:03:49 +0000 (UTC) for IP:'74.125.82.66' DOMAIN:'mail-wm0-f66.google.com' HELO:'mail-wm0-f66.google.com' FROM:'xose.vazquez@gmail.com' RCPT:'' X-RedHat-Spam-Score: -0.012 (BAYES_50, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS, UPPERCASE_50_75) 74.125.82.66 mail-wm0-f66.google.com 74.125.82.66 mail-wm0-f66.google.com <xose.vazquez@gmail.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.38 X-loop: dm-devel@redhat.com Cc: Xose Vazquez Perez <xose.vazquez@gmail.com>, "Martin K . Petersen" <martin.petersen@oracle.com>, SCSI ML <linux-scsi@vger.kernel.org>, "James E . J . Bottomley" <jejb@linux.vnet.ibm.com>, device-mapper development <dm-devel@redhat.com> Subject: [dm-devel] [PATCH] multipath-tools: document how to add devices that need special flags in the SCSI subsystem X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development <dm-devel.redhat.com> List-Unsubscribe: <https://www.redhat.com/mailman/options/dm-devel>, <mailto:dm-devel-request@redhat.com?subject=unsubscribe> List-Archive: <https://www.redhat.com/archives/dm-devel> List-Post: <mailto:dm-devel@redhat.com> List-Help: <mailto:dm-devel-request@redhat.com?subject=help> List-Subscribe: <https://www.redhat.com/mailman/listinfo/dm-devel>, <mailto:dm-devel-request@redhat.com?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c index a69002f..a489d6c 100644 --- a/libmultipath/hwtable.c +++ b/libmultipath/hwtable.c @@ -22,6 +22,9 @@ * * Devices with a proprietary handler must also be included in * the kernel side. Currently at drivers/scsi/scsi_dh.c + * + * Moreover, if a device needs a special treatment by the SCSI + * subsystem it should be included in drivers/scsi/scsi_devinfo.c */ static struct hwentry default_hw[] = { /*
Full flags list at include/scsi/scsi_devinfo.h Arrays controllers included currently: {"3PARdata", "VV", NULL, BLIST_REPORTLUN2}, {"DEC", "HSG80", NULL, BLIST_REPORTLUN2 | BLIST_NOSTARTONADD}, {"HP", "A6189A", NULL, BLIST_SPARSELUN | BLIST_LARGELUN}, {"COMPAQ", "MSA1000", NULL, BLIST_SPARSELUN | BLIST_NOSTARTONADD}, {"COMPAQ", "MSA1000 VOLUME", NULL, BLIST_SPARSELUN | BLIST_NOSTARTONADD}, {"COMPAQ", "HSV110", NULL, BLIST_REPORTLUN2 | BLIST_NOSTARTONADD}, {"HP", "HSV100", NULL, BLIST_REPORTLUN2 | BLIST_NOSTARTONADD}, {"COMPAQ", "LOGICAL VOLUME", NULL, BLIST_FORCELUN | BLIST_MAX_512}, {"DDN", "SAN DataDirector", "*", BLIST_SPARSELUN}, {"DGC", "RAID", NULL, BLIST_SPARSELUN}, {"DGC", "DISK", NULL, BLIST_SPARSELUN}, <-- mising VDISK ?? {"EMC", "SYMMETRIX", NULL, BLIST_SPARSELUN | BLIST_LARGELUN | BLIST_FORCELUN}, {"EMC", "Invista", "*", BLIST_SPARSELUN | BLIST_LARGELUN}, {"FSC", "CentricStor", "*", BLIST_SPARSELUN | BLIST_LARGELUN}, {"HITACHI", "OPEN-", "*", BLIST_REPORTLUN2}, {"HP", "OPEN-", "*", BLIST_REPORTLUN2}, {"HITACHI", "DF400", "*", BLIST_REPORTLUN2}, {"HITACHI", "DF500", "*", BLIST_REPORTLUN2}, {"HP", "DF400", "*", BLIST_SPARSELUN | BLIST_LARGELUN}, {"HP", "DF500", "*", BLIST_SPARSELUN | BLIST_LARGELUN}, {"HP", "DF600", "*", BLIST_SPARSELUN | BLIST_LARGELUN}, <-- bug, also apply: 627511e3e {"IBM", "ProFibre 4000R", "*", BLIST_SPARSELUN | BLIST_LARGELUN}, {"NETAPP", "LUN C-Mode", NULL, BLIST_SYNC_ALUA}, <-- ontap {"NETAPP", "INF-01-00", NULL, BLIST_SYNC_ALUA}, <-- rdac!! {"SGI", "TP9100", "*", BLIST_REPORTLUN2}, {"Intel", "Multi-Flex", NULL, BLIST_NO_RSOC}, {"SGI", "Universal Xport", "*", BLIST_NO_ULD_ATTACH}, {"IBM", "Universal Xport", "*", BLIST_NO_ULD_ATTACH}, {"SUN", "Universal Xport", "*", BLIST_NO_ULD_ATTACH}, {"DELL", "Universal Xport", "*", BLIST_NO_ULD_ATTACH}, Cc: Christophe Varoqui <christophe.varoqui@opensvc.com> Cc: James E.J. Bottomley <jejb@linux.vnet.ibm.com> Cc: Martin K. Petersen <martin.petersen@oracle.com> Cc: SCSI ML <linux-scsi@vger.kernel.org> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com> --- libmultipath/hwtable.c | 3 +++ 1 file changed, 3 insertions(+)