From: bmarzins@sourceware.org
To: dm-cvs@sourceware.org, dm-devel@redhat.com
Subject: multipath-tools libcheckers/emc_clariion.c pat ...
Date: 16 Apr 2007 18:44:50 -0000 [thread overview]
Message-ID: <20070416184450.10242.qmail@sourceware.org> (raw)
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL4_FC5
Changes by: bmarzins@sourceware.org 2007-04-16 19:44:50
Modified files:
libcheckers : emc_clariion.c
path_priority/pp_emc: pp_emc.c
Log message:
Applied patch from comment #5 of bz #231546. This allows compatablity with the
new EMC arrays.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libcheckers/emc_clariion.c.diff?cvsroot=dm&only_with_tag=RHEL4_FC5&r1=1.3&r2=1.3.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/path_priority/pp_emc/pp_emc.c.diff?cvsroot=dm&only_with_tag=RHEL4_FC5&r1=1.1&r2=1.1.2.1
--- multipath-tools/libcheckers/emc_clariion.c 2005/11/16 20:24:57 1.3
+++ multipath-tools/libcheckers/emc_clariion.c 2007/04/16 18:44:50 1.3.2.1
@@ -99,8 +99,12 @@
if ( /* Effective initiator type */
sense_buffer[27] != 0x03
- /* Failover mode should be set to 1 */
- || (sense_buffer[28] & 0x07) != 0x04
+ /*
+ * Failover mode should be set to 1 (PNR failover mode)
+ * or 4 (ALUA failover mode).
+ */
+ || (((sense_buffer[28] & 0x07) != 0x04) &&
+ ((sense_buffer[28] & 0x07) != 0x06))
/* Arraycommpath should be set to 1 */
|| (sense_buffer[30] & 0x04) != 0x04) {
MSG("emc_clariion_checker: Path not correctly configured for failover");
--- multipath-tools/path_priority/pp_emc/pp_emc.c 2005/04/19 13:26:49 1.1
+++ multipath-tools/path_priority/pp_emc/pp_emc.c 2007/04/16 18:44:50 1.1.2.1
@@ -60,8 +60,12 @@
if ( /* Effective initiator type */
sense_buffer[27] != 0x03
- /* Failover mode should be set to 1 */
- || (sense_buffer[28] & 0x07) != 0x04
+ /*
+ * Failover mode should be set to 1 (PNR failover mode)
+ * or 4 (ALUA failover mode).
+ */
+ || (((sense_buffer[28] & 0x07) != 0x04) &&
+ ((sense_buffer[28] & 0x07) != 0x06))
/* Arraycommpath should be set to 1 */
|| (sense_buffer[30] & 0x04) != 0x04) {
fprintf(stderr, "Path not correctly configured for failover");
next reply other threads:[~2007-04-16 18:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-16 18:44 bmarzins [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-04-16 18:32 multipath-tools libcheckers/emc_clariion.c pat bmarzins
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070416184450.10242.qmail@sourceware.org \
--to=bmarzins@sourceware.org \
--cc=dm-cvs@sourceware.org \
--cc=dm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.