DragonFly BSD
DragonFly commits List (threaded) for 2011-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: NFS server: Import various fixes from FreeBSD.


From: Venkatesh Srinivas <vsrinivas@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 24 Dec 2011 12:01:59 -0800 (PST)

commit a084b5c3be79264af0d0802982069fbab7309989
Author: Venkatesh Srinivas <me@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]