10f8f58d4a
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. |
||
---|---|---|
.. | ||
nfs_fha_old.c | ||
nfs_fha_old.h | ||
nfs_serv.c | ||
nfs_srvkrpc.c | ||
nfs_srvsubs.c | ||
nfs.h | ||
nfsm_subs.h | ||
nfsrvcache.h | ||
nfsrvstats.h |