* PATCH to Add Pivot3 to multipath-tools
@ 2007-10-16 14:37 bart brooks
2007-10-17 6:37 ` Hannes Reinecke
0 siblings, 1 reply; 3+ messages in thread
From: bart brooks @ 2007-10-16 14:37 UTC (permalink / raw)
To: dm-devel; +Cc: christophe.varoqui
[-- Attachment #1: Type: text/plain, Size: 364 bytes --]
Hello,
I have put together a patch, which adds Pivot3 RAIGE support to multipath-tools.
Could you please apply.
Thanks,
Bart
_________________________________________________________________
Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare!
http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews
[-- Attachment #2: pivot3-multipath-tools --]
[-- Type: text/plain, Size: 1787 bytes --]
diff -Naurp multipath-tools-0.4.8-orig/libmultipath/hwtable.c multipath-tools-0.4.8/libmultipath/hwtable.c
--- multipath-tools-0.4.8-orig/libmultipath/hwtable.c 2007-10-12 18:20:30.000000000 -0400
+++ multipath-tools-0.4.8/libmultipath/hwtable.c 2007-10-12 19:54:08.000000000 -0400
@@ -590,6 +590,27 @@ static struct hwentry default_hw[] = {
.minio = DEFAULT_MINIO,
.checker_name = READSECTOR0,
},
+ /*
+ * Pivot3 RAIGE
+ *
+ * Maintainer : Bart Brooks, Pivot3
+ * Mail : bartb@pivot3.com
+ */
+ {
+ .vendor = "PIVOT3",
+ .product = "RAIGE VOLUME",
+ .getuid = "/sbin/scsi_id-p3 -p 0x80 -g -u -s /block/%n",
+ .getprio = NULL,
+ .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 = 100,
+ .checker_name = TUR,
+ },
/*
* EOL
*/
diff -Naurp multipath-tools-0.4.8-orig/multipath.conf.synthetic multipath-tools-0.4.8/multipath.conf.synthetic
--- multipath-tools-0.4.8-orig/multipath.conf.synthetic 2007-10-12 18:20:30.000000000 -0400
+++ multipath-tools-0.4.8/multipath.conf.synthetic 2007-10-12 19:46:55.000000000 -0400
@@ -67,4 +67,16 @@
# product "MSA1000 "
# path_grouping_policy multibus
# }
+# device {
+# # Pivot3 RAIGE array
+# vendor "PIVOT3"
+# product "RAIGE VOLUME"
+# path_grouping_policy multibus
+# getuid_callout "/sbin/scsi_id-p3 -p 0x80 -g -u -s /block/%n"
+# path_checker tur
+# path_selector "round-robin 0"
+# hardware_handler "1 pivot3"
+# failback immediate
+# rr_min_io 100
+# }
#}
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: PATCH to Add Pivot3 to multipath-tools
2007-10-16 14:37 PATCH to Add Pivot3 to multipath-tools bart brooks
@ 2007-10-17 6:37 ` Hannes Reinecke
0 siblings, 0 replies; 3+ messages in thread
From: Hannes Reinecke @ 2007-10-17 6:37 UTC (permalink / raw)
To: bart brooks; +Cc: device-mapper development, christophe.varoqui
bart brooks wrote:
> Hello,
>
> I have put together a patch, which adds Pivot3 RAIGE support to multipath-tools.
>
> Could you please apply.
>
And could you please submit the 'pivot3' hardware handler?
And what exactly is the difference between 'scsi_id' and 'scsi_id-p3'?
Do you have any patches for this?
Cheers,
Hannes
--
Dr. Hannes Reinecke zSeries & Storage
hare@suse.de +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: PATCH to Add Pivot3 to multipath-tools
@ 2007-10-17 12:59 bart brooks
0 siblings, 0 replies; 3+ messages in thread
From: bart brooks @ 2007-10-17 12:59 UTC (permalink / raw)
To: Hannes Reinecke; +Cc: device-mapper development, christophe.varoqui
[-- Attachment #1.1: Type: text/plain, Size: 1109 bytes --]
Hello Hannes, Sorry an old version of the patch was submitted.An updated version is attached, which uses scsi_id and and the DEFAULT_HWHANDLER - Bart> Date: Wed, 17 Oct 2007 08:37:53 +0200> From: hare@suse.de> To: bart_brooks@hotmail.com> CC: dm-devel@redhat.com; christophe.varoqui@free.fr> Subject: Re: [dm-devel] PATCH to Add Pivot3 to multipath-tools> > bart brooks wrote:> > Hello,> > > > I have put together a patch, which adds Pivot3 RAIGE support to multipath-tools.> > > > Could you please apply.> > > And could you please submit the 'pivot3' hardware handler?> And what exactly is the difference between 'scsi_id' and 'scsi_id-p3'?> Do you have any patches for this?> > Cheers,> > Hannes> -- > Dr. Hannes Reinecke zSeries & Storage> hare@suse.de +49 911 74053 688> SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg> GF: Markus Rex, HRB 16746 (AG Nürnberg)
_________________________________________________________________
Help yourself to FREE treats served up daily at the Messenger Café. Stop by today.
http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM_OctWLtagline
[-- Attachment #1.2: Type: text/html, Size: 1512 bytes --]
[-- Attachment #2: pivot3-multipath-tools --]
[-- Type: text/plain, Size: 1774 bytes --]
diff -Naurp multipath-tools-0.4.8-orig/libmultipath/hwtable.c multipath-tools-0.4.8/libmultipath/hwtable.c
--- multipath-tools-0.4.8-orig/libmultipath/hwtable.c 2007-10-12 18:20:30.000000000 -0400
+++ multipath-tools-0.4.8/libmultipath/hwtable.c 2007-10-17 07:52:35.000000000 -0400
@@ -590,6 +590,27 @@ static struct hwentry default_hw[] = {
.minio = DEFAULT_MINIO,
.checker_name = READSECTOR0,
},
+ /*
+ * Pivot3 RAIGE
+ *
+ * Maintainer : Bart Brooks, Pivot3
+ * Mail : bartb@pivot3.com
+ */
+ {
+ .vendor = "PIVOT3",
+ .product = "RAIGE VOLUME",
+ .getuid = "/sbin/scsi_id -p 0x80 -g -u -s /block/%n",
+ .getprio = NULL,
+ .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 = 100,
+ .checker_name = TUR,
+ },
/*
* EOL
*/
diff -Naurp multipath-tools-0.4.8-orig/multipath.conf.synthetic multipath-tools-0.4.8/multipath.conf.synthetic
--- multipath-tools-0.4.8-orig/multipath.conf.synthetic 2007-10-12 18:20:30.000000000 -0400
+++ multipath-tools-0.4.8/multipath.conf.synthetic 2007-10-17 07:53:36.000000000 -0400
@@ -67,4 +67,16 @@
# product "MSA1000 "
# path_grouping_policy multibus
# }
+# device {
+# # Pivot3 RAIGE array
+# vendor "PIVOT3"
+# product "RAIGE VOLUME"
+# path_grouping_policy multibus
+# getuid_callout "/sbin/scsi_id -p 0x80 -g -u -s /block/%n"
+# path_checker tur
+# path_selector "round-robin 0"
+# hardware_handler "0"
+# failback immediate
+# rr_min_io 100
+# }
#}
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-10-17 12:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-16 14:37 PATCH to Add Pivot3 to multipath-tools bart brooks
2007-10-17 6:37 ` Hannes Reinecke
-- strict thread matches above, loose matches on Subject: below --
2007-10-17 12:59 bart brooks
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.