nfs_iocounter_wait(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay bestie, meet nfs_iocounter_wait(9) from the Kernel API Manual πŸ’– β€” it's literally the β€œwait for i/o to complete” function. That's the vibe.

πŸ’… SYNOPSIS πŸ’…

int nfs_iocounter_wait (struct nfs_lock_context *l_ctx );

🫢 ARGUMENTS 🫢

  • l_ctx β€” the nfs_lock_context with the io_counter to use 🌸. That's the one, no cap.

πŸ”₯ DESCRIPTION πŸ”₯

So here's the tea: it returns -ERESTARTSYS if it gets interrupted by a fatal signal 😭. Otherwise, it returns 0 once the io_count hits 0 β€” periodt. ✨

🌈 SEE ALSO 🌈

Kernel file ./fs/nfs/pagelist.c β€” go say hi to the whole squad:


mwah πŸ’– source/version: ./fs/nfs Β· date: October 2026 Β· page: nfs_iocounter_wait(9) from the Kernel API Manual β€” and that's the whole moment, iykyk πŸŽ€

πŸ“¦ where this page comes from