nfs_free_request(9)
π nfs_free_request(9) π
ok so this is a page from the Kernel API Manual and honestly? it's a little one but she matters. bestie, we're talking about nfs_free_request β the function that drops the count on an NFS read/write request. that's it. that's the whole vibe. releasing counts, slaying, moving on. β¨
β¨ NAME β¨
nfs_free_request β release the count on an NFS read/write request π«Ά
πΈ SYNOPSIS πΈ
void nfs_free_request (struct nfs_page *req );
like yes, it returns void, it takes exactly one thing, she's simple, she's iconic, no cap. π
π ARGUMENTS π
reqβ the request you're releasing. that's the one. hand her over. π
β οΈ NOTE β οΈ
ok this is the important one so lock in fr fr:
should never be called with the spinlock held! π¨ like, never ever. not even once. not even a little. do not do it. i'm literally begging. π
π¦ SEE ALSO π¦
the whole friend group, gathered for you:
- kernel file
./fs/nfs/pagelist.cπ nfs_iocounter_wait(9)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_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)
iykyk π
and that's the page!! mwah π this lil cutie lives in ./fs/nfs and she's dated October 2026 β talk to you in the future, bestie, muah π§ββοΈππ
π¦ 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