git: NFS server: Import various fixes from FreeBSD.
Venkatesh Srinivas
vsrinivas at crater.dragonflybsd.org
Sat Dec 24 12:01:59 PST 2011
commit a084b5c3be79264af0d0802982069fbab7309989
Author: Venkatesh Srinivas <me at endeavour.zapto.org>
Date: Sat Dec 24 10:16:53 2011 -0800
NFS server: Import various fixes from FreeBSD.
* Rev 228520: Honor NFSv3 commit call when count = 0. (delphij)
* Rev 228185: Enhance sequential access heuristic used for readahead
and reuse it for writes as well.
* Use a prime number for sequential detection table
* Factor our sequential detection code
* Ramp up sequential heurstic quickly based on IO size.
This patch differs from the FreeBSD version in that we rapidly
decay the sequential heuristic as in the original code and don't
attempt to deal with reordered RPCs.
* Rev 159871: Size the NFS server dupreq cache on the basis of nmbclusters.
This patch differs from the FreeBSD version in that we don't
alter the desired cache size based on nmbcluster change events.
* Rev 116789: Bug in nfsrv_read() that caused the replies to certain NFSv3
short read operations at the end of a file to not have the "eof"
flag set. (iedowse)
Summary of changes:
sys/vfs/nfs/nfs_serv.c | 139 ++++++++++++++++++++++++-------------------
sys/vfs/nfs/nfs_srvcache.c | 16 +++++-
sys/vfs/nfs/nfsrvcache.h | 3 +-
3 files changed, 95 insertions(+), 63 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a084b5c3be79264af0d0802982069fbab7309989
--
DragonFly BSD source repository
More information about the Commits
mailing list