nfs4_schedul...ion_recovery(9)
π nfs4_schedul...ion_recovery(9) π
ok so bestie, welcome to the Kernel API Manual β¨ this one's a little function page straight out of the kernel's NFS corner, and honestly? she's short, she's sweet, she's giving "one job and she does it" energy. let's get into it π«Ά
πΈ NAME πΈ
nfs4_schedule_migration_recovery β trigger migration recovery π
like, that's it. that's her whole thing. she triggers the recovery. no cap.
β¨ SYNOPSIS β¨
int nfs4_schedule_migration_recovery (const struct nfs_server *server );
look at that signature, she's so clean π returns an int, takes one const struct nfs_server * named server, and honestly the const is doing the most to say "we're just looking, not touching" π
π ARGUMENTS π
serverβ the FSID that is migrating π¦ that's the whole description, bestie. it's the filesystem ID that's mid-move, and that's all the manual gives us, so that's all we're passing along. iykyk.
π DESCRIPTION π
here's the tea π: this function returns zero if recovery has started. that's the good ending, the slay ending, the "we're so back" ending π
otherwise, a negative NFS4ERR value gets returned π so like, if you see a negative number come back, that's the function telling you it did not start recovery, and the value it hands you is that negative NFS4ERR code. read the sign, respect the sign, periodt.
ngl, that's the entire description as written β no extra lore, no secret bonus behaviour. don't go making things up about her, she's got a very specific job π
π₯ SEE ALSO π₯
- Kernel file
./fs/nfs/nfs4state.cπ nfs4_get_renew_cred(9)nfs41_discover_server_trunking(9)nfs4_get_clid_cred(9)nfs4_get_state_owner(9)nfs4_put_state_owner(9)nfs4_purge_state_owners(9)nfs4_free_state_owners(9)nfs4_schedule_lease_moved_recovery(9)nfs4_discover_server_trunking(9)
a whole little friend group of NFS state functions, fr fr π go say hi to the rest of the crew, they all live in the same neighbourhood π§π
and that's the page, bestie π this one shipped from ./fs/nfs, dated October 2026 β so like, mark your calendar, she's from the future πβ¨ mwah, go read some kernel source, ily π«Ά
π¦ 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