* [PATCH] multipath-tools: add FBA DASD
@ 2008-06-11 12:08 Stefan Haberland
0 siblings, 0 replies; only message in thread
From: Stefan Haberland @ 2008-06-11 12:08 UTC (permalink / raw)
To: dm-devel; +Cc: cristophe.varoqui
[-- 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 --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-06-11 12:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-11 12:08 [PATCH] multipath-tools: add FBA DASD Stefan Haberland
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.