From patchwork Tue Aug 16 12:38:49 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: 9283767 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 2CC6C60839 for ; Tue, 16 Aug 2016 12:39:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1D3392860D for ; Tue, 16 Aug 2016 12:39:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0F91F2889F; Tue, 16 Aug 2016 12:39:41 +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 vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8C9502860D for ; Tue, 16 Aug 2016 12:39:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753256AbcHPMjj (ORCPT ); Tue, 16 Aug 2016 08:39:39 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:34968 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752223AbcHPMji (ORCPT ); Tue, 16 Aug 2016 08:39:38 -0400 Received: by mail-wm0-f68.google.com with SMTP id i5so16219644wmg.2 for ; Tue, 16 Aug 2016 05:39:19 -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=2AfgMl0GoGjKQ7mX66J/dS88E1ZPakXTyrI568hK/AM=; b=jNc4H17Q+fpEIeA2xc70SThopw516946mi+YNxLnj0+h5dEVwUBDNrqwq8CcuyfFai 5Bqdsnakt+e0DaiQDhjrDb/PUNV8m9/+H7kaxfxueHqh31err833REFkmgt7D03fDabp kuwXuS6ZMI/smX8sKNu7CF+6BdZ9bUodrU0QXd0SWNVG6ikjNdM4ziaGJbm+wdoMrvXG MBlEZbmPjk6ah8WojH4TKOPD0FZ46lJ1W2AehTBEJU9NDsv1teTThznABoHNBae97fxx 6bBGG8cchYKh5XBX6voNltJEgAdptUPDrG3Qb8N0sspE3GIbQxILTIA2XDuLdFikjh3f yLZw== 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=2AfgMl0GoGjKQ7mX66J/dS88E1ZPakXTyrI568hK/AM=; b=Q9k7DvsApd5Gfi/gJTS5nQhLQFiN/f/SZ8Ik2SYSkelXcVeSckKyqzkMZyiScJYju6 Yc3ZSYZHld8S0CjcomFEOZYHI6d+JmKyrv3iipMp4ZOojvxkhczcc9CV45gayYQPBMEM MT+2abcFwt7ViK3v4DyHnaI5Yg8Pdxf8tE5eUazJAuCl7//gXrmIw4zpe5Y8tntGP6XE zzNp8Q65VDP8r9OqNQk6clJmYvsaeOYvic64lisM7QAmnGT+GUER6zCO+7PMDo0rg6XF ZvpWIfQteDVrj/lvqvnZYJjohuIMKNLuFWuQhuG9PfBxc+rpoK4HbalYuwWyJooxfh8W s6Qw== X-Gm-Message-State: AEkoousdmJ+WOZ1OUqUrorpbU0vnKAvwWFNEO1Gt6hEwPQoKrAu+mApRdP23b8diOmn/9g== X-Received: by 10.194.82.99 with SMTP id h3mr4799666wjy.9.1471351158150; Tue, 16 Aug 2016 05:39:18 -0700 (PDT) Received: from localhost ([31.221.161.126]) by smtp.gmail.com with ESMTPSA id jd4sm26561870wjb.6.2016.08.16.05.39.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Aug 2016 05:39:17 -0700 (PDT) From: Xose Vazquez Perez Cc: Xose Vazquez Perez , Christophe Varoqui , "James E . J . Bottomley" , "Martin K . Petersen" , SCSI ML , device-mapper development Subject: [PATCH 1/5] multipath-tools: document how to add devices that need special flags in the SCSI subsystem Date: Tue, 16 Aug 2016 14:38:49 +0200 Message-Id: <1471351133-7892-1-git-send-email-xose.vazquez@gmail.com> X-Mailer: git-send-email 2.7.4 To: unlisted-recipients:; (no To-header on input) Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Cc: James E.J. Bottomley Cc: Martin K. Petersen Cc: SCSI ML Cc: device-mapper development Signed-off-by: Xose Vazquez Perez --- libmultipath/hwtable.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c index 1bc6f2c..4e1740a 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[] = { /*