* [PATCH] update netapp and IBM nseries (netapp) hwtable.c targets
@ 2006-04-03 21:36 David Wysochanski
0 siblings, 0 replies; only message in thread
From: David Wysochanski @ 2006-04-03 21:36 UTC (permalink / raw)
To: device-mapper development
[-- Attachment #1: Type: text/plain, Size: 31 bytes --]
Should apply to latest source.
[-- Attachment #2: update-netapp-ibm-nseries-hwtable.patch --]
[-- Type: text/x-patch, Size: 1615 bytes --]
--- libmultipath/hwtable.c.orig 2006-04-03 16:54:34.865830000 -0400
+++ libmultipath/hwtable.c 2006-04-03 17:23:14.464443000 -0400
@@ -315,25 +315,46 @@ static struct hwentry default_hw[] = {
.minio = DEFAULT_MINIO,
.checker_name = DIRECTIO,
},
- /*
+ /*
* NETAPP controler family
*
* Maintainer : Dave Wysochanski
- * Mail : davidw netapp com
+ * Mail : davidw@netapp.com
*/
{
.vendor = "NETAPP",
- .product = "LUN",
+ .product = "LUN.*",
.getuid = DEFAULT_GETUID,
.getprio = "/sbin/mpath_prio_netapp /dev/%n",
.features = "1 queue_if_no_path",
.hwhandler = DEFAULT_HWHANDLER,
.selector = DEFAULT_SELECTOR,
.pgpolicy = GROUP_BY_PRIO,
- .pgfailback = FAILBACK_UNDEF,
+ .pgfailback = -FAILBACK_IMMEDIATE,
.rr_weight = RR_WEIGHT_NONE,
.no_path_retry = NO_PATH_RETRY_UNDEF,
- .minio = DEFAULT_MINIO,
+ .minio = 128,
+ .checker_name = READSECTOR0,
+ },
+ /*
+ * IBM NSeries (NETAPP) controler family
+ *
+ * Maintainer : Dave Wysochanski
+ * Mail : davidw@netapp.com
+ */
+ {
+ .vendor = "IBM",
+ .product = "Nseries.*",
+ .getuid = DEFAULT_GETUID,
+ .getprio = "/sbin/mpath_prio_netapp /dev/%n",
+ .features = "1 queue_if_no_path",
+ .hwhandler = DEFAULT_HWHANDLER,
+ .selector = DEFAULT_SELECTOR,
+ .pgpolicy = GROUP_BY_PRIO,
+ .pgfailback = -FAILBACK_IMMEDIATE,
+ .rr_weight = RR_WEIGHT_NONE,
+ .no_path_retry = NO_PATH_RETRY_UNDEF,
+ .minio = 128,
.checker_name = READSECTOR0,
},
/*
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-04-03 21:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-03 21:36 [PATCH] update netapp and IBM nseries (netapp) hwtable.c targets David Wysochanski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox