From: eeb Date: Tue, 2 Dec 2003 23:07:59 +0000 (+0000) Subject: * Ensured CWARN messages always get to the system log. X-Git-Tag: v1_7_0_51~2^7~158 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=af6be256791b81331f4381f22a843aea15ef0652;p=fs%2Flustre-release.git * Ensured CWARN messages always get to the system log. NB this only affects socknal EOF messages currently, since the NALs' subsystem debug is disabled by default. Hopefully the appearance of these messages (which should be relatively infrequent and provide good post-mortem evidence) will not spread too much FUD... --- diff --git a/lnet/include/linux/kp30.h b/lnet/include/linux/kp30.h index 909ecc0..3d60631 100644 --- a/lnet/include/linux/kp30.h +++ b/lnet/include/linux/kp30.h @@ -115,7 +115,7 @@ do { \ if (portal_cerror == 0) \ break; \ CHECK_STACK(CDEBUG_STACK); \ - if (!(mask) || ((mask) & (D_ERROR | D_EMERG)) || \ + if (!(mask) || ((mask) & (D_ERROR | D_EMERG | D_WARNING)) || \ (portal_debug & (mask) && \ portal_subsystem_debug & DEBUG_SUBSYSTEM)) \ portals_debug_msg(DEBUG_SUBSYSTEM, mask, \ diff --git a/lustre/portals/include/linux/kp30.h b/lustre/portals/include/linux/kp30.h index 909ecc0..3d60631 100644 --- a/lustre/portals/include/linux/kp30.h +++ b/lustre/portals/include/linux/kp30.h @@ -115,7 +115,7 @@ do { \ if (portal_cerror == 0) \ break; \ CHECK_STACK(CDEBUG_STACK); \ - if (!(mask) || ((mask) & (D_ERROR | D_EMERG)) || \ + if (!(mask) || ((mask) & (D_ERROR | D_EMERG | D_WARNING)) || \ (portal_debug & (mask) && \ portal_subsystem_debug & DEBUG_SUBSYSTEM)) \ portals_debug_msg(DEBUG_SUBSYSTEM, mask, \