nfs41_discov...ver_trunking(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… nfs41_discover_server_trunking β€” a.k.a. the "is this the same server or not" vibe check

okay so bestie, you're in the Kernel API Manual, section 9 (kernel routines, iykyk). Buckle up πŸŽ€


✨ NAME ✨

nfs41_discover_server_trunking β€” Detect server IP address trunking (mv1) πŸ¦‹

Like, it figures out whether two things that look different are actually the same server. Main character detective energy, fr fr.


🌸 SYNOPSIS 🌸

int nfs41_discover_server_trunking (struct nfs_client *clp , struct nfs_client **result , const struct cred *cred );

🫢 ARGUMENTS 🫢

  • clp β€” the nfs_client under test. She's the one being examined πŸ‘€
  • result β€” OUT param: the found nfs_client, or clp. So like, a pointer gets planted here β€” either the one we discovered or the original we walked in with πŸ’–
  • cred β€” the credential to use for the trunking test. Gotta have your ID ready for the vibe check πŸ”₯

πŸ‘‘ DESCRIPTION πŸ‘‘

Returns NFS4_OK, a negative errno, or a negative NFS4ERR status β€” three possible outcomes, no in-between, periodt.

If NFS4_OK is returned, an nfs_client pointer is planted in "result". Yup, that's the whole deal. Slay πŸ’…


⭐ NOTE ⭐

Lowkey important bestie: the returned client may not yet be marked ready. So don't go treating it like it's fully cooked, ngl πŸ™ˆ

🌈 SEE ALSO 🌈

Kernel file ./fs/nfs/nfs4state.c, plus these iconic siblings:


that's the whole page bestie, go be iconic with it πŸ§šπŸ’œ

β€” xoxo, the kernel docs girlie πŸ“ Β· source: ./fs/nfs Β· dated October 2026 Β· nfs41_discover_server_trunking(9) signing off πŸ’«

πŸ“¦ where this page comes from