xprt_rdma_close(9)
π xprt_rdma_close(9) β Kernel API Manual π
hiii bestie π«Ά welcome to this lil Kernel API Manual moment. we're talking about xprt_rdma_close, and yes it's giving "short but important" energy. let's get into it β¨
πΈ NAME πΈ
xprt_rdma_close β close a transport connection
π SYNOPSIS π
void xprt_rdma_close (struct rpc_xprt *xprt );
π¦ ARGUMENTS π¦
xprtβ transport context
β¨ DESCRIPTION β¨
okay so this one gets called during autoclose or during device removal π. and bestie, the caller is holding xprt's send lock β that's on purpose π
. it prevents activity on this transport while the connection is being torn down. no cap, it's a whole "nothing moves while we clean up" vibe π§
π SEE ALSO π
the whole squad, fr fr:
- Kernel file
./net/sunrpc/xprtrdma/transport.c xprt_rdma_connect_worker(9)xprt_rdma_inject_disconnect(9)xprt_rdma_destroy(9)xprt_setup_rdma(9)xprt_rdma_set_port(9)xprt_rdma_timer(9)xprt_rdma_set_connect_timeout(9)xprt_rdma_connect(9)xprt_rdma_alloc_slot(9)xprt_rdma_free_slot(9)xprt_rdma_allocate(9)xprt_rdma_free(9)xprt_rdma_send_request(9)
okay that's the whole page, bestie π«Ά β source/version: ./net/sunrpc/xprtrdma; date: October 2026; manual page: xprt_rdma_close(9). periodt π
π¦ 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