knfsd fixed, but SLOW

Steven N. Hirsch (shirsch@ibm.net)
Fri, 11 Apr 1997 23:29:10 -0400 (EDT)


All,

The following patch enables the new nfsservctl system call in 2.1.33.
Without this patch, everything compiles fine, but the little user-mode
program that fires up the server daemons fails.

To my chagrin, the throughput with the new server is horrendous. Haven't
had much time to look into it, but there seems to be almost constant disk
activity - almost as if nothing was being cached and every byte being
flushed as soon as it was received by the server.

Steve

*** linux/arch/i386/entry.S.orig Sat Apr 5 21:40:16 1997
--- linux/arch/i386/entry.S Fri Apr 11 22:58:01 1997
***************
*** 524,529 ****
.long SYMBOL_NAME(sys_vm86)
.long SYMBOL_NAME(sys_query_module)
.long SYMBOL_NAME(sys_poll)
! .rept NR_syscalls-168
.long SYMBOL_NAME(sys_ni_syscall)
.endr
--- 524,530 ----
.long SYMBOL_NAME(sys_vm86)
.long SYMBOL_NAME(sys_query_module)
.long SYMBOL_NAME(sys_poll)
! .long SYMBOL_NAME(sys_nfsservctl)
! .rept NR_syscalls-169
.long SYMBOL_NAME(sys_ni_syscall)
.endr