Whamcloud - gitweb
When the debug daemon buffer overflows, this needs to be printed to
authorphil <phil>
Fri, 10 Oct 2003 07:27:56 +0000 (07:27 +0000)
committerphil <phil>
Fri, 10 Oct 2003 07:27:56 +0000 (07:27 +0000)
the console, not buried in a gigabyte of log data

lnet/libcfs/debug.c
lustre/portals/libcfs/debug.c

index 1c5cf47..018e91e 100644 (file)
@@ -777,6 +777,8 @@ portals_debug_msg(int subsys, int mask, char *file, const char *fn,
                         debug_daemon_state.overlapped = 1;
                         ap = NULL;
                         format = "DEBUG MARKER: Debug buffer overlapped\n";
+                        printk(KERN_ERR "LustreError: debug daemon buffer "
+                               "overlapped");
                 } else  /* More space just became available */
                         debug_daemon_state.overlapped = 0;
         }
index 1c5cf47..018e91e 100644 (file)
@@ -777,6 +777,8 @@ portals_debug_msg(int subsys, int mask, char *file, const char *fn,
                         debug_daemon_state.overlapped = 1;
                         ap = NULL;
                         format = "DEBUG MARKER: Debug buffer overlapped\n";
+                        printk(KERN_ERR "LustreError: debug daemon buffer "
+                               "overlapped");
                 } else  /* More space just became available */
                         debug_daemon_state.overlapped = 0;
         }