RE: PATCH to Add Pivot3 to multipath-tools

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@xxxxxxx
> To: bart_brooks@xxxxxxxxxxx
> CC: dm-devel@xxxxxxxxxx; christophe.varoqui@xxxxxxx
> Subject: Re: 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@xxxxxxx +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!
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@xxxxxxxxxx
+	 */
+	{
+		.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
+#	}
 #}
--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux