From: Chuck Lever Subject: [PATCH] BPB (brown paper bag) rpc_show_tasks Date: Fri, 2 May 2003 15:37:55 -0400 (EDT) Sender: nfs-admin@lists.sourceforge.net Message-ID: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Linux NFS List Return-path: Received: from citi.umich.edu ([141.211.92.141]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19BgM2-0007s3-00 for ; Fri, 02 May 2003 12:37:58 -0700 To: Trond Myklebust Errors-To: nfs-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Id: Discussion of NFS under Linux development, interoperability, and testing. List-Unsubscribe: , List-Archive: hi trond- the recently-applied patch to fix the rpc_show_tasks() Oops is incomplete. this applies over 2.5.68 and should address all of the issues in rpc_show_tasks(). diff -Naurp old/net/sunrpc/sched.c new/net/sunrpc/sched.c --- old/net/sunrpc/sched.c Fri May 2 15:31:37 2003 +++ new/net/sunrpc/sched.c Fri May 2 15:32:43 2003 @@ -1149,9 +1149,10 @@ void rpc_show_tasks(void) alltask_for_each(t, le, &all_tasks) printk("%05d %04d %04x %06d %8p %6d %8p %08ld %8s %8p %8p\n", t->tk_pid, - (t->tk_msg.rpc_proc->p_proc ? t->tk_msg.rpc_proc->p_proc : -1), + (t->tk_msg.rpc_proc ? t->tk_msg.rpc_proc->p_proc : -1), t->tk_flags, t->tk_status, - t->tk_client, t->tk_client->cl_prog, + t->tk_client, + (t->tk_client ? t->tk_client->cl_prog : 0), t->tk_rqstp, t->tk_timeout, rpc_qname(t->tk_rpcwait), t->tk_action, t->tk_exit); - Chuck Lever -- corporate: personal: ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs