multipath-tools libcheckers/emc_clariion.c pat ...
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL4_FC5
Changes by: [email protected] 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
libcheckers/emc_clariion.c +6 -2
@@ -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" );
path_priority/pp_emc/pp_emc.c +6 -2
@@ -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" );