diff options
author | Rick Macklem <rmacklem@FreeBSD.org> | 2022-08-22 20:54:24 +0000 |
---|---|---|
committer | Rick Macklem <rmacklem@FreeBSD.org> | 2022-08-22 20:54:24 +0000 |
commit | 564ed8e806e7abb640775b1b3d253a7a6eb452f7 (patch) | |
tree | 7d0cedcc1d1ef68ef018fd3b7493422077beb099 /sys/rpc/svc.h | |
parent | a070c11afe5990a4d60a27078263e016411602a8 (diff) | |
download | src-564ed8e806e7abb640775b1b3d253a7a6eb452f7.tar.gz src-564ed8e806e7abb640775b1b3d253a7a6eb452f7.zip |
nfsd: Allow multiple instances of rpc.tlsservd
During a discussion with someone working on NFS-over-TLS
for a non-FreeBSD platform, we agreed that a single server
daemon for TLS handshakes could become a bottleneck when
an NFS server first boots, if many concurrent NFS-over-TLS
connections are attempted.
This patch modifies the kernel RPC code so that it can
handle multiple rpc.tlsservd daemons. A separate commit
currently under review as D35886 for the rpc.tlsservd
daemon.
Diffstat (limited to 'sys/rpc/svc.h')
-rw-r--r-- | sys/rpc/svc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/rpc/svc.h b/sys/rpc/svc.h index 7f6d7c948193..f3f29977f463 100644 --- a/sys/rpc/svc.h +++ b/sys/rpc/svc.h @@ -185,6 +185,7 @@ typedef struct __rpc_svcxprt { uint64_t xp_sslsec; /* Userland SSL * */ uint64_t xp_sslusec; uint64_t xp_sslrefno; + int xp_sslproc; /* Which upcall daemon being used */ int xp_ngrps; /* Cred. from TLS cert. */ uid_t xp_uid; gid_t *xp_gidp; |