[dm-devel] multipath-tools/libcheckers rdac.c
bmarzins at sourceware.org
bmarzins at sourceware.org
Wed Jun 24 21:15:53 UTC 2009
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL5_FC6
Changes by: bmarzins at sourceware.org 2009-06-24 21:15:52
Modified files:
libcheckers : rdac.c
Log message:
Pulled Charlie Brady's patch from dm-devel to make the rdac checker print the
right message on changes to PATH_UP and PATH_GHOST.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libcheckers/rdac.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.1.2.2&r2=1.1.2.3
--- multipath-tools/libcheckers/Attic/rdac.c 2007/06/18 21:12:54 1.1.2.2
+++ multipath-tools/libcheckers/Attic/rdac.c 2009/06/24 21:15:52 1.1.2.3
@@ -105,5 +105,12 @@
return PATH_DOWN;
}
- return ((inq.avtcvp & 0x1) ? PATH_UP : PATH_GHOST);
+ if (inq.avtcvp & 0x1) {
+ MSG(c, MSG_RDAC_UP);
+ return PATH_UP;
+ }
+ else {
+ MSG(c, MSG_RDAC_GHOST);
+ return PATH_GHOST;
+ }
}
More information about the dm-devel
mailing list