All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Haberland <sth@linux.vnet.ibm.com>
To: dm-devel@redhat.com
Cc: cristophe.varoqui@free.fr
Subject: [PATCH] multipath-tools: add FBA DASD
Date: Wed, 11 Jun 2008 14:08:24 +0200	[thread overview]
Message-ID: <484FC038.2040705@linux.vnet.ibm.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1455 bytes --]


S/390 FBA DASDs are not blacklisted because they are not detected 
correctly.
Added S/390 FBA DASDs to hwtable.c to solve this problem

Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com>

---
libmultipath/hwtable.c |   17 +++++++++++++++++
1 file changed, 17 insertions(+)

Index: multipath-tools/libmultipath/hwtable.c
===================================================================
--- multipath-tools.orig/libmultipath/hwtable.c
+++ multipath-tools/libmultipath/hwtable.c
@@ -497,6 +497,23 @@ static struct hwentry default_hw[] = {
               .checker_name  = DIRECTIO,
               .prio_name     = DEFAULT_PRIO,
       },
+       {
+               /* IBM S/390 FBA DASD */
+               .vendor        = "IBM",
+               .product       = "S/390 DASD FBA",
+               .bl_product       = "S/390.*",
+               .getuid        = "/sbin/dasdinfo -u -b %n",
+               .features      = "1 queue_if_no_path",
+               .hwhandler     = DEFAULT_HWHANDLER,
+               .selector      = DEFAULT_SELECTOR,
+               .pgpolicy      = MULTIBUS,
+               .pgfailback    = FAILBACK_UNDEF,
+               .rr_weight     = RR_WEIGHT_NONE,
+               .no_path_retry = NO_PATH_RETRY_UNDEF,
+               .minio         = DEFAULT_MINIO,
+               .checker_name  = DIRECTIO,
+               .prio_name     = DEFAULT_PRIO,
+       },
       /*
        * NETAPP controller family
        *

[-- Attachment #2: hwtable_add_fbadasd.patch --]
[-- Type: text/x-patch, Size: 1204 bytes --]

S/390 FBA DASDs are not blacklisted because they are not detected correctly.
Added S/390 FBA DASDs to hwtable.c to solve this problem

Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com>

---
 libmultipath/hwtable.c |   17 +++++++++++++++++
 1 file changed, 17 insertions(+)

Index: multipath-tools/libmultipath/hwtable.c
===================================================================
--- multipath-tools.orig/libmultipath/hwtable.c
+++ multipath-tools/libmultipath/hwtable.c
@@ -497,6 +497,23 @@ static struct hwentry default_hw[] = {
 		.checker_name  = DIRECTIO,
 		.prio_name     = DEFAULT_PRIO,
 	},
+	{
+		/* IBM S/390 FBA DASD */
+		.vendor        = "IBM",
+		.product       = "S/390 DASD FBA",
+		.bl_product       = "S/390.*",
+		.getuid        = "/sbin/dasdinfo -u -b %n",
+		.features      = "1 queue_if_no_path",
+		.hwhandler     = DEFAULT_HWHANDLER,
+		.selector      = DEFAULT_SELECTOR,
+		.pgpolicy      = MULTIBUS,
+		.pgfailback    = FAILBACK_UNDEF,
+		.rr_weight     = RR_WEIGHT_NONE,
+		.no_path_retry = NO_PATH_RETRY_UNDEF,
+		.minio         = DEFAULT_MINIO,
+		.checker_name  = DIRECTIO,
+		.prio_name     = DEFAULT_PRIO,
+	},
 	/*
 	 * NETAPP controller family
 	 *

[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



                 reply	other threads:[~2008-06-11 12:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=484FC038.2040705@linux.vnet.ibm.com \
    --to=sth@linux.vnet.ibm.com \
    --cc=cristophe.varoqui@free.fr \
    --cc=dm-devel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.