rpcrdma_mrs_destroy(9)
π rpcrdma_mrs_destroy β Kernel API Manual β¨
π NAME π
rpcrdma_mrs_destroy β Release all of a transport's MRs π
π¦ SYNOPSIS π¦
void rpcrdma_mrs_destroy (struct rpcrdma_xprt *r_xprt );
πΈ ARGUMENTS πΈ
r_xprtβ controlling transport instance. that's the whole mood, bestie π«Ά
π§ DESCRIPTION π§
okay so this function is relying on the callerβyes, youβholding the transport send lock. That lock is the thing protecting the removal of mr->mr_list from req->rl_free_mrs so it's done safely. No cap, the send lock is the main character here π.
π SEE ALSO π
Kernel file ./net/sunrpc/xprtrdma/verbs.c is where it's at, and these are the linked-up pages, iykyk:
rpcrdma_flush_disconnect(9)rpcrdma_wc_send(9)rpcrdma_wc_receive(9)rpcrdma_cm_event_handler(9)rpcrdma_xprt_connect(9)rpcrdma_xprt_disconnect(9)rpcrdma_sendctx_get_locked(9)rpcrdma_sendctx_unget_locked(9)rpcrdma_sendctx_put_locked(9)rpcrdma_mrs_refresh(9)rpcrdma_req_create(9)rpcrdma_req_setup(9)rpcrdma_rep_put(9)rpcrdma_buffer_create(9)rpcrdma_req_destroy(9)rpcrdma_buffer_destroy(9)rpcrdma_mr_get(9)rpcrdma_reply_put(9)rpcrdma_buffer_get(9)rpcrdma_buffer_put(9)rpcrdma_regbuf_realloc(9)__rpcrdma_regbuf_dma_map(9)rpcrdma_post_recvs(9)
mwah π that's the page! source/version: ./net/sunrpc/xprtrdma; date: October 2026; page: rpcrdma_mrs_destroy(9) π«Άπ
π¦ 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