freebsd-dev/sys/nfs
Alexander V. Chernikov 2bbab0af6d Use epoch(9) for rtentries to simplify control plane operations.
Currently the only reason of refcounting rtentries is the need to report
 the rtable operation details immediately after the execution.
Delaying rtentry reclamation allows to stop refcounting and simplify the code.
Additionally, this change allows to reimplement rib_lookup_info(), which
 is used by some of the customers to get the matching prefix along
 with nexthops, in more efficient way.

The change keeps per-vnet rtzone uma zone. It adds nh_vnet field to
 nhop_priv to be able to reliably set curvnet even during vnet teardown.
Rest of the reference counting code will be removed in the D24867 .

Differential Revision:	https://reviews.freebsd.org/D24866
2020-05-23 10:21:02 +00:00
..
bootp_subr.c Use epoch(9) for rtentries to simplify control plane operations. 2020-05-23 10:21:02 +00:00
krpc_subr.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
krpc.h
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