nfs42_proc_offload_status(9)
πΈ NAME πΈ (aka nfs42_proc_offload_status(9) in the Kernel API Manual)
okay so bestie, nfs42_proc_offload_status is literally the function that polls completion status of an async copy operation. no cap, that's the whole main character energy of this page π¦β¨
β¨ SYNOPSIS β¨
int nfs42_proc_offload_status (struct file *dst , nfs4_stateid *stateid , u64 *copied );
π ARGUMENTS π
dstβ handle of file being copied into π«Άstateidβ copy stateid (from asyncCOPYresult) πcopiedβOUT: number of bytes copied so far π
π DESCRIPTION π
the return values are doing the most, and I'm obsessed with how specific they are:
0β Server returned anNFS4_OKcompletion status β-EINPROGRESSβ Server returned no completion status β³-EREMOTEIOβ Server returned an error completion status π-EBADFβ Server did not recognize the copy stateid π-EOPNOTSUPPβ Server does not supportOFFLOAD_STATUSπ«-ERESTARTSYSβ Wait interrupted by signal π
Other negative errnos indicate the client could not complete the request. periodt, that's the vibe check fr fr.
π₯ SEE ALSO π₯
- Kernel file
./fs/nfs/nfs42proc.c nfs42_copy_dest_done(9)
cute sign-off bestie: source/version is ./fs/nfs, date is October 2026, and yes this is still nfs42_proc_offload_status(9) serving looks πππ
π¦ 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