From patchwork Tue Jun 21 00:36:02 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: 9189119 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 8B4276075E for ; Tue, 21 Jun 2016 00:40:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7594520265 for ; Tue, 21 Jun 2016 00:40:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6A2472787D; Tue, 21 Jun 2016 00:40:24 +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 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 D54EF20265 for ; Tue, 21 Jun 2016 00:40:23 +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 u5L0apWl026106; Mon, 20 Jun 2016 20:36:51 -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 u5L0aKiw020992 for ; Mon, 20 Jun 2016 20:36:20 -0400 Received: from mx1.redhat.com (ext-mx06.extmail.prod.ext.phx2.redhat.com [10.5.110.30]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u5L0aK4E014861 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 20 Jun 2016 20:36:20 -0400 Received: from mail-lb0-f195.google.com (mail-lb0-f195.google.com [209.85.217.195]) (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 408613F723; Tue, 21 Jun 2016 00:36:19 +0000 (UTC) Received: by mail-lb0-f195.google.com with SMTP id ur4so60397lbc.3; Mon, 20 Jun 2016 17:36: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:in-reply-to:references; bh=65QndyRbYsdwdtAzOOqjHII1kKCwqsmjbU1pxCQ9s1I=; b=GsjEzMSaq5mxHalkV303tvjBxDIURsazjjGEvkR8o5r14ByO7wILnIdO1uehqtJnLV C/P2NAzxHt5BYsNrjzRBjdogyebCynQVWctk8ioTLReSahIJiaoBu3hT86sNg55lyO2o MBEThBR59g+HykWo/Crqebp7N09yBKh4kLybuOfw2Oll/bxizIG9w4X3jB/Se2nUtpjq 7EkEeppiTNVq+J4ghHjV/ZDrNHMZw0aJDsIqJMQgKyhY6hsItPcEsxUJ6On0EbYyxIIf o+DfpoqBoNXBZuF8ZcBTzdxhKqiuGcZTMtcZecBPv18j1xjg33j6QCS3GpZUGHnZKXOI E4OA== 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:in-reply-to :references; bh=65QndyRbYsdwdtAzOOqjHII1kKCwqsmjbU1pxCQ9s1I=; b=KVArgo83orQlb2mfLgM7ES45RzlEWcQcJP32JtHBqAMrDcyZQBYJlf8cbflFO0fPx+ G8hjjHxMItES9m6z33GyTcjx83DKxtLEJrRCx5GZ9CbJQuJtHK4R5QX+S4pMzGN8ejMN Prdk+yaWGEfCNpE00d52QhF51E879hmHoEsL69iTp39OMelelyHODUN9A4CICx1PbZY4 ydB2pqBy8s1tTAHS2TsDpEUIfF2TfBn7bt6c9ThdE+6/P6b16AYJvyDIHxgOD0EgD7YF z+G0XcQvcCu2XVaq5fBFKD0+i8IM9IL2yz1OD1QTQgdlsGj4hNNLIklZXnpHOOU16NTh cK+A== X-Gm-Message-State: ALyK8tIQHPdSkrghg5N/W8lpLyv3ngkMRqaVgP+hrhDZOuhvQ6TgAqFS8omq02+rvDR+9A== X-Received: by 10.194.58.239 with SMTP id u15mr16602212wjq.73.1466469377675; Mon, 20 Jun 2016 17:36:17 -0700 (PDT) Received: from localhost (152.161.78.188.dynamic.jazztel.es. [188.78.161.152]) by smtp.gmail.com with ESMTPSA id o10sm29313193wjs.38.2016.06.20.17.36.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 20 Jun 2016 17:36:17 -0700 (PDT) From: Xose Vazquez Perez To: Date: Tue, 21 Jun 2016 02:36:02 +0200 Message-Id: <1466469364-14446-7-git-send-email-xose.vazquez@gmail.com> In-Reply-To: <1466469364-14446-1-git-send-email-xose.vazquez@gmail.com> References: <1466469364-14446-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.30]); Tue, 21 Jun 2016 00:36:19 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Tue, 21 Jun 2016 00:36:19 +0000 (UTC) for IP:'209.85.217.195' DOMAIN:'mail-lb0-f195.google.com' HELO:'mail-lb0-f195.google.com' FROM:'xose.vazquez@gmail.com' RCPT:'' X-RedHat-Spam-Score: -0.02 (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) 209.85.217.195 mail-lb0-f195.google.com 209.85.217.195 mail-lb0-f195.google.com X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.30 X-loop: dm-devel@redhat.com Cc: Xose Vazquez Perez , device-mapper development , Babu Moger , Sean Stewart Subject: [dm-devel] [PATCH 7/9] multipath-tools: tips on adding new devices with proprietary handlers 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 kernel(SCSI) and multipath-tools should be in sync. Currently in drivers/scsi/scsi_dh.c: {"DGC", "RAID", "clariion" }, {"DGC", "DISK", "clariion" }, {"DGC", "VRAID", "clariion" }, {"COMPAQ", "MSA1000 VOLUME", "hp_sw" }, {"COMPAQ", "HSV110", "hp_sw" }, {"HP", "HSV100", "hp_sw"}, {"DEC", "HSG80", "hp_sw"}, {"IBM", "1722", "rdac", }, {"IBM", "1724", "rdac", }, {"IBM", "1726", "rdac", }, {"IBM", "1742", "rdac", }, {"IBM", "1745", "rdac", }, {"IBM", "1746", "rdac", }, {"IBM", "1813", "rdac", }, -> missing in multipath-tools !!! Added in 4df01b. It's an IBM DCS3860. {"IBM", "1814", "rdac", }, {"IBM", "1815", "rdac", }, {"IBM", "1818", "rdac", }, {"IBM", "3526", "rdac", }, {"SGI", "TP9", "rdac", }, {"SGI", "IS", "rdac", }, {"STK", "OPENstorage D280", "rdac", }, {"STK", "FLEXLINE 380", "rdac", }, {"SUN", "CSM", "rdac", }, {"SUN", "LCSM100", "rdac", }, {"SUN", "STK6580_6780", "rdac", }, {"SUN", "SUN_6180", "rdac", }, {"SUN", "ArrayStorage", "rdac", }, -> missing in multipath-tools !!! Added in 66195f. Unknown device, too generic name. {"DELL", "MD3", "rdac", }, {"NETAPP", "INF-01-00", "rdac", }, {"LSI", "INF-01-00", "rdac", }, {"ENGENIO", "INF-01-00", "rdac", }, Cc: Babu Moger Cc: Sean Stewart Cc: Benjamin Marzinski Cc: Hannes Reinecke Cc: Christophe Varoqui Cc: device-mapper development Signed-off-by: Xose Vazquez Perez --- libmultipath/hwtable.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c index 62e284d..47a2e61 100644 --- a/libmultipath/hwtable.c +++ b/libmultipath/hwtable.c @@ -15,6 +15,11 @@ * You are welcome to claim maintainership over a controller * family. Please mail the currently enlisted maintainer and * the upstream package maintainer. + * + * WARNING: + * + * Devices with a proprietary handler must also be included in + * the kernel side. Currently at drivers/scsi/scsi_dh.c */ static struct hwentry default_hw[] = { /*