From patchwork Sat Aug 13 19:03:45 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: 9278703 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 1324060780 for ; Sun, 14 Aug 2016 10:26:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 024C6289C0 for ; Sun, 14 Aug 2016 10:26:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EA05C28A4A; Sun, 14 Aug 2016 10:26:30 +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=unavailable 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 8B5C9289C0 for ; Sun, 14 Aug 2016 10:26:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752532AbcHNK03 (ORCPT ); Sun, 14 Aug 2016 06:26:29 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:34262 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752030AbcHNK02 (ORCPT ); Sun, 14 Aug 2016 06:26:28 -0400 Received: by mail-wm0-f67.google.com with SMTP id q128so5909171wma.1 for ; Sun, 14 Aug 2016 03:26:28 -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=DfH4MOBIg+ywGWalJsM4O6tnsTpdGsCUT2v6v/PBsP6mvPLypysDAVbstsumjPmD6U OutsnJwL0nbio1gzlHvYKzZJTTo8mrsaGKwiazyx3VShW1d/WWIubWAtq7Tf2oe63f1P D4yVsaoFdRFUntdcQMWSyGKhLjXi8XsvLGUyardtIMYju7N2uCuVh1LhEZ0aQnzfgyNC nOF07sirRk0RcsfFXdhII2pBRZ2hEX//o5FE5BdmBo5oGH+PW+9KnSZguBTrerNqvB2K bu0VK0zrIUuQMNSNzEllGAV7u4o35UmjPtUSghokjGRWpqOd1nzfAmJUlkjdoBBAsZoE mbOg== X-Gm-Message-State: AEkoouuys4TsS3LceBpydy7U+69+hndIEfh9e1N0hl2Mh3XpCePjsLasY+lRIo08o3/Xwg== 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 Cc: Xose Vazquez Perez , Christophe Varoqui , "James E . J . Bottomley" , "Martin K . Petersen" , SCSI ML , device-mapper development Subject: [PATCH] multipath-tools: document how to add devices that need special flags in the SCSI subsystem Date: Sat, 13 Aug 2016 21:03:45 +0200 Message-Id: <1471115025-8137-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 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[] = { /*