freebsd-dev/sys/nfs
Alexander Motin 10f8f58d4a Fix RPC server threads file handle affinity to work better with ZFS.
Instead of taking 8 specific bytes of file handle to identify file during
RPC thread affitinity handling, use trivial hash of the full file handle.
ZFS's struct zfid_short does not have padding field after the length field,
as result, originally picked 8 bytes are loosing lower 16 bits of object ID,
causing many false matches and unneeded requests affinity to same thread.
  This fix substantially improves NFS server latency and scalability in SPEC
NFS benchmark by more flexible use of multiple NFS threads.

Sponsored by:	iXsystems, Inc.
2013-12-23 08:43:16 +00:00
..
bootp_subr.c The r48589 promised to remove implicit inclusion of if_var.h soon. Prepare 2013-10-26 17:58:36 +00:00
krpc_subr.c Functions m_getm2() and m_get2() have different order of arguments, 2013-03-12 13:42:47 +00:00
krpc.h Fix the experimental NFS client so that it does not bogusly 2011-04-25 22:22:51 +00:00
nfs_common.c Use m_get() and m_getcl() instead of compat macros. 2013-03-15 10:21:18 +00:00
nfs_common.h Remove the unused nfs_curusec(). 2013-01-17 19:03:24 +00:00
nfs_diskless.c Implemented a mount option "nocto" that disables cache coherency 2011-05-04 13:27:45 +00:00
nfs_fha.c Fix RPC server threads file handle affinity to work better with ZFS. 2013-12-23 08:43:16 +00:00
nfs_fha.h Fix RPC server threads file handle affinity to work better with ZFS. 2013-12-23 08:43:16 +00:00
nfs_kdtrace.h Move sys/nfsclient/nfs_kdtrace.h to sys/nfs/nfs_kdtrace.h so 2011-05-06 20:02:19 +00:00
nfs_lock.c Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs. 2011-11-07 06:44:47 +00:00
nfs_lock.h Modify the NFS clients and the NLM so that the NLM can be used 2010-10-19 00:20:00 +00:00
nfs_mountcommon.h Fix the nlm so that it no longer depends on the regular 2011-01-03 20:37:31 +00:00
nfs_nfssvc.c Add an nfssvc() option to the kernel for the new NFS client 2012-12-02 01:16:04 +00:00
nfsdiskless.h Fix the experimental NFS client so that it does not bogusly 2011-04-25 22:22:51 +00:00
nfsproto.h
nfssvc.h Add an nfssvc() option to the kernel for the new NFS client 2012-12-02 01:16:04 +00:00
xdr_subs.h