Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: john@iastate.edu (John Hascall)
Subject: Asynch NFS patch
Date: Thu, 5 Mar 1992 14:50:24 GMT	[thread overview]
Message-ID: <1992Mar5.145024.6551@news.iastate.edu> (raw)

Apply the following UTTERLY AND TOTALLY UNSUPPORTED AND EVIL
patch to sys/fs/nfs/nfs_server.c (patch below).  This patch is
for Ultrix 4.2 source, but it is so simple that if your source
looks anything alike you should have no trouble adapting it.

At line 744 in /sys/fs/nfs/nfs_server.c (in the rfs_write routine) it
looks like this:

                                error = VOP_RDWR(vp, &uio, UIO_WRITE,
                                        IO_SYNC, u.u_cred);

change it to look like this:


                                error = VOP_RDWR(vp, &uio, UIO_WRITE,
                                        IO_ASYNC, u.u_cred);

and rebuild your kernel.  I cannot *currently* make a patched
nfs_server.o available as our nfs_server.c has other customizations
to add Kerberos security -- I will probably get around to building
a non-Kerberized version later this month, at which point I could
make it available via ftp (subject to DEC objecting?).

Remember, neither DEC nor I support this -- you're on your own.
It works for us, your mileage may vary.

John
PS,  Sorry, I can't make the Kerberized-NFS stuff available.
--
John Hascall           Our liberties we prize and our rights we will maintain
Project Vincent                                                              
Iowa State University Computation Center                     john@iastate.edu
Ames, IA  50011                                      515/294-9551 [fax -1717]


                 reply	other threads:[~1992-03-05 14:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox