nfs42_proc_offload_status(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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 async COPY result) πŸ’…
  • 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 an NFS4_OK completion 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 support OFFLOAD_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 πŸ”₯


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