nfs4_schedul...ion_recovery(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ”₯

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