lkml.org 
[lkml]   [2000]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRPC switches into debug mode
Date
Code fragment from net/sunrpc/sched.c, 2.2 and 2.3 kernels.

#ifdef RPC_DEBUG
if (task->tk_magic != 0xf00baa) {
printk(KERN_ERR "RPC: attempt to wake up non-existing task!\n");
rpc_debug = ~0;
rpc_show_tasks();
return;
}
#endif

When that test triggers, every following RPC operation is logged. It
*really* slows down NFS until somebody spots it and resets rpc_debug.
Why is rpc_debug set to ~0? If this debug is useful, could it be
automatically reset after a few seconds? And is anybody interested in
an 2.2.12 RPC debug log for this message?


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.233 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site