|
|
1.1 ! root 1: This nfs directory is a merge of local and Berkeley changes up to ! 2: Dec. 10, 1989. The code has been tested in the "end of Aug. vnode kernel" ! 3: and also tested a little in the Nov. 30 vnode kernel. The kernel ! 4: differences are ifdef'd on VOP_PRINT in all files except nfs_bio.c, ! 5: nfs_node.c, nfs_vfsops.c and nfsnode.h. For these files, there are separate ! 6: ".old" for the end of Aug. and ".new" for the Nov. 30 kernels. ! 7: ! 8: Two minor changes outside of the nfs directory are required to install ! 9: this level of hacks: ! 10: ! 11: 1 - change the number of args. for the nfssvc system call from 1 -> 3 in ! 12: syscalls.master and regenerate init_sysent.c (or cheat and just edit ! 13: init_sysent.c as well) ! 14: ! 15: 2 - add nfs_srvcache.c to conf/files (this is the server recent request ! 16: cache) ! 17: ! 18: A summary of changes since mid. Sept. are as follows: ! 19: ! 20: - overloaded the usec component of the ctime and atime fields in the file ! 21: attributes with the generation number and flags respectively ! 22: ! 23: - modified the way the fsid number for the mount point is generated to ! 24: ensure it is unique and returned that as the rdev attribute for files ! 25: in that file system instead of returning the server's dev number ! 26: ! 27: - changed ENOENT error returns from a client side remove rpc to return ! 28: 0 to avoid the problem associated with the Sun rpc at least once ! 29: semantics ! 30: ! 31: - unlock the directory before a client nfs_lookup rpc is issued and then ! 32: relocking it for the oddball cases instead of unlocking it after the ! 33: rpc returns for the unlock cases. (Hopefully this straightens out the ! 34: problem with the automounter) ! 35: ! 36: - Kirk's many cleanups done with the help of lint (I did put one unused ! 37: variable assignment back in because several macros expect it to be ! 38: set and if you used one of those in future versions of the nfs_serv.c ! 39: it would blow up real good for a not very obvious reason) ! 40: ! 41: - server side recent request caching in a manner similar to that described ! 42: by Chet Juszczak of DEC at Usenix Winter 1989 ! 43: ! 44: - for the new kernel I have replaced all calls to nfs_blkflush with the new ! 45: vfs ones. (goodbye nfs_blkflush, you were a kludge anyhow)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.