lkml.org 
[lkml]   [1999]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] two line change to NFS over TCP code

Hi,
patch against 2.2.0pre7ac2 it moves something I previously added
to net/sunrpc/sched.c a few lines earlier,

with this I can run parallel (5) makes over NFS over TCP over
non-localhost network:-)

The following still breaks it

mounting a local filesystem from user-space nfsd over TCP-NFS
and doing a kernel make ...

Dave.

------------ David Airlie, David.Airlie@ul.ie,airlied@skynet --------
Telecommunications Research Centre, ECE Dept, University of Limerick \
http://www.csn.ul.ie/~airlied -- Telecommunications Researcher \
--- TEL: +353-61-202695 -----------------------------------------------
diff -ur linux-pre7ac2/net/sunrpc/sched.c linux/net/sunrpc/sched.c
--- linux-pre7ac2/net/sunrpc/sched.c Thu Jan 14 13:24:57 1999
+++ linux/net/sunrpc/sched.c Thu Jan 14 16:21:33 1999
@@ -840,11 +840,10 @@
rounds = 0;
}
save_flags(oldflags); cli();
+ dprintk("RPC: rpciod running checking dispatch\n");
+ rpciod_tcp_dispatcher();
+
if (!schedq.task) {
- /* following two lines added by airlied@linux.ie
- to make NFS over TCP work 5/1/99 */
- dprintk("RPC: rpciod running checking dispatch\n");
- rpciod_tcp_dispatcher();
dprintk("RPC: rpciod back to sleep\n");
interruptible_sleep_on(&rpciod_idle);
dprintk("RPC: switch to rpciod\n");
\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.018 / U:1.736 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site