]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
nfsd: Reduce callouts rate.
authorAlexander Motin <mav@FreeBSD.org>
Sun, 9 Jan 2022 18:09:29 +0000 (13:09 -0500)
committerAlexander Motin <mav@FreeBSD.org>
Sun, 9 Jan 2022 18:14:23 +0000 (13:14 -0500)
commit3455c738ac23f723dc516ce5acd02ed24ff9f5df
tree812194efb0b5f0ab36a37f3b473f73d0a169b5ea
parent51b461b3db33b7cd7cbc62c9206568321f7298ad
nfsd: Reduce callouts rate.

Before this callouts were scheduled twice a seconds even if nfsd was
never used.  This reduces the rate to ~1Hz and only after nfsd first
started.

MFC after: 2 weeks
sys/fs/nfs/nfs_commonport.c
sys/fs/nfs/nfs_commonsubs.c
sys/fs/nfs/nfs_var.h
sys/fs/nfs/nfsport.h
sys/fs/nfsserver/nfs_nfsdport.c