Messages in this thread Patch in this message | | | Date | Thu, 14 Jan 1999 16:00:31 +0000 (GMT) | From | Dave Airlie <> | 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");
| |