libmultipath/hwtable.c: Compellent Definition
PATCH 1/1 libmultipath/hwtable.c: Compellent Definition
The following is the patch to include a hardware definition for Compellent's SAN. This is my first patch so hopefully I did everything correctly. The definition in config form is below, if for some reason my code doesn't match that, please inform me.
device {
vendor "COMPELNT"
product "Compellent Vol"
path_grouping_policy multibus
path_checker tur
checker tur
failback immediate
no_path_retry queue
}---
Jim Lester | Linux Product Specialist
[email protected]
(o) 952.294.2802
(c) 763.218.6012
Compellent Technologies | www.compellent.com
--- multipath-tools/libmultipath/hwtable.c 2008-07-10
17:05:53.000000000 -0500
+++ multipath-tools.my/libmultipath/hwtable.c 2008-07-10
17:17:27.000000000 -0500
@@ -706,6 +706,27 @@
.prio_name = PRIO_RDAC,
},
/*
+ * Compellent Technologies, Inc.
+ *
+ * Maintainer : Jim Lester, Compellent
+ * Mail : [email protected]
+ */
+ {
+ .vendor = "COMPELNT",
+ .product = "Compellent Vol",
+ .getuid = DEFAULT_GETUID,
+ .features = DEFAULT_FEATURES,
+ .hwhandler = DEFAULT_HWHANDLER,
+ .selector = DEFAULT_SELECTOR,
+ .pgpolicy = MULTIBUS,
+ .pgfailback = -FAILBACK_IMMEDIATE,
+ .rr_weight = RR_WEIGHT_NONE,
+ .no_path_retry = NO_PATH_RETRY_QUEUE,
+ .minio = DEFAULT_MINIO,
+ .checker_name = TUR,
+ .prio_name = DEFAULT_PRIO,
+ },
+ /*
* EOL
*/
{
@@ -725,6 +746,7 @@
},};
+
extern int
setup_default_hwtable (vector hw)
{
Quoted 11 lines · Jim Lester
The following is the patch to include a hardware definition for Compellent's SAN. This is my first patch so hopefully I did everything correctly. The definition in config form is below, if for some reason my code doesn't match that, please inform me.
device {
vendor "COMPELNT"
product "Compellent Vol"
path_grouping_policymultibus
path_checkertur
checker tur
That is bogus. There are no 'checker' field in the .conf file. Hopefully that isn't in your product release notes.
Quoted 3 lines
failback immediate
no_path_retry queue
}I know, but that's when dumps out when you do a "show config" So obviously my statement was slightly redundant. But I just wanted to make sure it was clear what settings I wanted.
---
Jim Lester
-----Original Message-----
From: Konrad Rzeszutek [mailto:[email protected]]
Sent: Friday, July 11, 2008 11:53 AM
To: device-mapper development
Subject: Re: [dm-devel] [PATCH] libmultipath/hwtable.c: Compellent Definition
Quoted 3 lines · Jim Lester
The following is the patch to include a hardware definition for Compellent's SAN. This is my first patch so hopefully I did everything correctly. The definition in config form is below, if for some reason
my
Quoted 8 lines
code doesn't match that, please inform me.
device {
vendor "COMPELNT"
product "Compellent Vol"
path_grouping_policymultibus
path_checkertur
checker tur
That is bogus. There are no 'checker' field in the .conf file. Hopefully that isn't in your product release notes.
Quoted 3 lines
failback immediate
no_path_retry queue
}