FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Device-mapper Development

 
 
LinkBack Thread Tools
 
Old 07-11-2008, 04:17 PM
"Jim Lester"
 
Default 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
Jim.Lester@Compellent.com
(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 : jim.lester@compellent.com
+ */
+ {
+ .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)
{

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 
Old 07-11-2008, 04:53 PM
Konrad Rzeszutek
 
Default libmultipath/hwtable.c: Compellent Definition

On Fri, Jul 11, 2008 at 11:17:03AM -0500, Jim Lester wrote:
> 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

That is bogus. There are no 'checker' field in the .conf file. Hopefully
that isn't in your product release notes.

> failback immediate
> no_path_retry queue
> }

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 
Old 07-14-2008, 03:38 PM
"Jim Lester"
 
Default libmultipath/hwtable.c: Compellent Definition

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:konrad@virtualiron.com]
Sent: Friday, July 11, 2008 11:53 AM
To: device-mapper development
Subject: Re: [dm-devel] [PATCH] libmultipath/hwtable.c: Compellent
Definition

On Fri, Jul 11, 2008 at 11:17:03AM -0500, Jim Lester wrote:
> 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

That is bogus. There are no 'checker' field in the .conf file. Hopefully
that isn't in your product release notes.

> failback immediate
> no_path_retry queue
> }



--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 

Thread Tools




All times are GMT. The time now is 03:59 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org