nfsd_svc(9)
β¨ nfsd_svc β¨
okay so bestie, welcome to the nfsd_svc page from the Kernel API Manual π
the whole vibe here is literally "start up or shut down the nfsd server" β that's the one-line glow-up of what this function does π
πΈ SYNOPSIS πΈ
int nfsd_svc (int n , int *nthreads , struct net *net , const struct
cred *cred , const char *scope );
that's the whole signature, character for character, no cap π₯
π¦ ARGUMENTS π¦
nβ the number of array members innthreadsπ like, how many slots are we actually looking at herenthreadsβ an array of thread counts, one for each pool β¨ each pool gets its own count, iykyknetβ the network namespace to operate within π gotta know where we're livingcredβ the credentials to use for xprt creation π yes bestie, creds matterscopeβ the server scope value, which defaults tonodenameπ
π DESCRIPTION π
so like, this function adjusts the number of threads in each pool and then returns the new total number of threads in the service π that's the whole thing, and honestly? iconic. it ate and left no crumbs π
ngl it's a short description but that's genuinely all the manpage gives us β adjust the pools, hand back the new total, periodt π«Ά
π§ SEE ALSO π§
- Kernel file
./fs/nfsd/nfssvc.c nfsd_nrthreads(9)nfsd_copy_write_verifier(9)nfsd_reset_write_verifier(9)nfsd_destroy_serv(9)nfsd_set_nrthreads(9)nfsd_dispatch(9)nfssvc_decode_voidarg(9)nfssvc_encode_voidres(9)
like, go read all of these too, they're the friend group π
π sign-off π
this page is brought to you by ./fs/nfsd, dated October 2026 β and it's literally a nfsd_svc(9) moment, so slay, bye bestie ππ¦β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms