* [PATCH 0/3] HP HSV200 update
@ 2006-11-09 10:28 Hannes Reinecke
2006-11-09 21:29 ` Christophe Varoqui
2006-11-13 16:11 ` Reilly, Stephen (MRO)
0 siblings, 2 replies; 3+ messages in thread
From: Hannes Reinecke @ 2006-11-09 10:28 UTC (permalink / raw)
To: christophe varoqui; +Cc: device-mapper development
Hi Christophe,
this patchset implements a new field 'revision' for the hardware table,
which is filled with the 'revision' field from the SCSI Inquiry. The
reason for this is that HP switched the behaviour during a firmware
update (ie from using START_STOP_UNIT to ALUA). And to support this
properly we'll have to match against the 'revision' field, too.
In doing so I've found a bug in load_config(). Currently, we're loading
the default hardware table with comparing via regex. However, as the
default table also contains regexp we'll end up comparing _two_ regexps,
the outcome of which is a quite peculiar to say the least. We should
rather be using a simple string match to avoid this pitfall.
So, this patchset does
- Correct load_config() to compare entries via string match
- Implements matching against the revision field
- Updates the hardware table for HP HSV200 support.
Cheers,
Hannes
--
Dr. Hannes Reinecke hare@suse.de
SuSE Linux Products GmbH S390 & zSeries
Maxfeldstraße 5 +49 911 74053 688
90409 Nürnberg http://www.suse.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 0/3] HP HSV200 update
2006-11-09 10:28 [PATCH 0/3] HP HSV200 update Hannes Reinecke
@ 2006-11-09 21:29 ` Christophe Varoqui
2006-11-13 16:11 ` Reilly, Stephen (MRO)
1 sibling, 0 replies; 3+ messages in thread
From: Christophe Varoqui @ 2006-11-09 21:29 UTC (permalink / raw)
To: Hannes Reinecke; +Cc: dm-devel
Le jeudi 09 novembre 2006 à 11:28 +0100, Hannes Reinecke a écrit :
> Hi Christophe,
>
> this patchset implements a new field 'revision' for the hardware table,
> which is filled with the 'revision' field from the SCSI Inquiry. The
> reason for this is that HP switched the behaviour during a firmware
> update (ie from using START_STOP_UNIT to ALUA). And to support this
> properly we'll have to match against the 'revision' field, too.
>
> In doing so I've found a bug in load_config(). Currently, we're loading
> the default hardware table with comparing via regex. However, as the
> default table also contains regexp we'll end up comparing _two_ regexps,
> the outcome of which is a quite peculiar to say the least. We should
> rather be using a simple string match to avoid this pitfall.
>
> So, this patchset does
> - Correct load_config() to compare entries via string match
> - Implements matching against the revision field
> - Updates the hardware table for HP HSV200 support.
>
Good stuff.
Patchset applied.
For now I removed the undefined RR_WEIGHT_PRIORITIES you introduced in
the HSV2.* defaults. You can submit the whole thing if you want.
Thanks,
cvaroqui
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [PATCH 0/3] HP HSV200 update
2006-11-09 10:28 [PATCH 0/3] HP HSV200 update Hannes Reinecke
2006-11-09 21:29 ` Christophe Varoqui
@ 2006-11-13 16:11 ` Reilly, Stephen (MRO)
1 sibling, 0 replies; 3+ messages in thread
From: Reilly, Stephen (MRO) @ 2006-11-13 16:11 UTC (permalink / raw)
To: device-mapper development
You might want to check this because the product name does change depending on which firmware is loaded with either the START_STOP_UNIT or ALUA.
-----Original Message-----
From: dm-devel-bounces@redhat.com [mailto:dm-devel-bounces@redhat.com] On Behalf Of Hannes Reinecke
Sent: Thursday, November 09, 2006 5:28 AM
To: christophe varoqui
Cc: device-mapper development
Subject: [dm-devel] [PATCH 0/3] HP HSV200 update
Hi Christophe,
this patchset implements a new field 'revision' for the hardware table,
which is filled with the 'revision' field from the SCSI Inquiry. The
reason for this is that HP switched the behaviour during a firmware
update (ie from using START_STOP_UNIT to ALUA). And to support this
properly we'll have to match against the 'revision' field, too.
In doing so I've found a bug in load_config(). Currently, we're loading
the default hardware table with comparing via regex. However, as the
default table also contains regexp we'll end up comparing _two_ regexps,
the outcome of which is a quite peculiar to say the least. We should
rather be using a simple string match to avoid this pitfall.
So, this patchset does
- Correct load_config() to compare entries via string match
- Implements matching against the revision field
- Updates the hardware table for HP HSV200 support.
Cheers,
Hannes
--
Dr. Hannes Reinecke hare@suse.de
SuSE Linux Products GmbH S390 & zSeries
Maxfeldstraße 5 +49 911 74053 688
90409 Nürnberg http://www.suse.de
--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-11-13 16:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-09 10:28 [PATCH 0/3] HP HSV200 update Hannes Reinecke
2006-11-09 21:29 ` Christophe Varoqui
2006-11-13 16:11 ` Reilly, Stephen (MRO)
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.