nfs_iocounter_wait(9)
β¨ 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β thenfs_lock_contextwith theio_counterto 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:
nfs_async_iocounter_wait(9)nfs_page_group_sync_on_bit_locked(9)nfs_page_create_from_page(9)nfs_page_create_from_folio(9)nfs_unlock_request(9)nfs_unlock_and_release_request(9)nfs_free_request(9)nfs_pgio_data_destroy(9)nfs_pgio_rpcsetup(9)nfs_pgio_prepare(9)nfs_pgio_error(9)nfs_pgio_release(9)nfs_pageio_init(9)nfs_pgio_result(9)nfs_coalesce_size(9)nfs_pageio_do_add_request(9)__nfs_pageio_add_request(9)nfs_pageio_complete(9)nfs_pageio_cond_complete(9)
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
- 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