Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
sun-lamp CVS commits
- To: source-changes
- Subject: sun-lamp CVS commits
- From: The Source of All Evil <source>
- Date: Fri, 13 Oct 1995 21:00:09 -0400
ghudson
Fri Oct 13 20:56:12 EDT 1995
Update of /a/cvsroot/src/sys/nfs
In directory pain.lcs.mit.edu:/b/tmp/cvs-serv6196
Modified Files:
nfs_vnops.c
Log Message:
Add cookie support. Stash cookies in the word prior to the end of
each entry, and read them out in nfs_readdir().
Caveat: our current caching method for directory blocks uses the
server offset of the first directory entry as an identifier, so a
Linux emulation getdirentries() will wind up retrieving one block from
the NFS server for each directory entry, unnecessarily thrashing the
cache. The situation isn't as bad for other emulations.
Instead of getblk(), we need to write a routine to scan each cache
block associated with vp to find a cookie that matches at some
directory entry. Some later time.
Home |
Main Index |
Thread Index |
Old Index