Whamcloud - gitweb
* Ensured CWARN messages always get to the system log.
authoreeb <eeb>
Tue, 2 Dec 2003 23:07:59 +0000 (23:07 +0000)
committereeb <eeb>
Tue, 2 Dec 2003 23:07:59 +0000 (23:07 +0000)
    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...

lnet/include/linux/kp30.h
lustre/portals/include/linux/kp30.h

index 909ecc0..3d60631 100644 (file)
@@ -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,                      \
index 909ecc0..3d60631 100644 (file)
@@ -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,                      \