freebsd-src/sys/nfs
Rick Macklem 9897e357de Re-organize the NFS file handle affinity code for the NFS server.
The file handle affinity code was configured to be used by both the
old and new NFS servers. This no longer makes sense, since there is
only one NFS server.
This patch copies a majority of the code in sys/nfs/nfs_fha.c and
sys/nfs/nfs_fha.h into sys/fs/nfsserver/nfs_fha_new.c and
sys/fs/nfsserver/nfs_fha_new.h, so that the files in sys/nfs can be
deleted. The code is simplified by deleting the function callback pointers
used to call functions in either the old or new NFS server and they were
replaced by calls to the functions.

As well as a cleanup, this re-organization simplifies the changes
required for handling of external page mbufs, which is required for KERN_TLS.

This patch should not result in a semantic change to file handle affinity.
2020-04-14 00:01:26 +00:00
..
bootp_subr.c Switch RIB and RADIX_NODE_HEAD lock from rwlock(9) to rmlock(9). 2018-06-16 08:26:23 +00:00
krpc.h
krpc_subr.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
nfs_common.h sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
nfs_diskless.c UDP: further performance improvements on tx 2018-05-23 21:02:14 +00:00
nfs_kdtrace.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
nfs_lock.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
nfs_mountcommon.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
nfs_nfssvc.c Merge the pNFS server code from projects/pnfs-planb-server into head. 2018-06-12 19:36:32 +00:00
nfsdiskless.h sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
nfsproto.h sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
nfssvc.h Merge the pNFS server code from projects/pnfs-planb-server into head. 2018-06-12 19:36:32 +00:00
xdr_subs.h sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00