From af6be256791b81331f4381f22a843aea15ef0652 Mon Sep 17 00:00:00 2001 From: eeb Date: Tue, 2 Dec 2003 23:07:59 +0000 Subject: [PATCH] * 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... --- lnet/include/linux/kp30.h | 2 +- lustre/portals/include/linux/kp30.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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, \ -- 1.8.3.1