req_done(9)
req_done(9) π Kernel API Manual π
okay bestie, gather round the group chat: we're in the Kernel API Manual and this page is literally about the callback that signals activity from the server. no cap, it's short but iconic.
β¨ NAME β¨
req_done β callback which signals activity from the server. π
π¦ SYNOPSIS π¦
void req_done (struct virtqueue *vq );
π ARGUMENTS π
vqβ the virtio queue where the activity was received. π«Ά
π DESCRIPTION π
This notifies us that the server has triggered some activity on the virtio channel β most likely a response to a request we sent. The job: figure out which requests now have responses, and wake up those threads. periodt. β
Bugs: could do with some additional sanity checking, but appears to work. ππ
π SEE ALSO π
- kernel file
./net/9p/trans_virtio.c struct virtio_chan(9)p9_virtio_close(9)pack_sg_list(9)pack_sg_list_p(9)p9_virtio_request(9)p9_virtio_zc_request(9)p9_virtio_probe(9)p9_virtio_create(9)p9_virtio_remove(9)
xoxo π from ./net/9p, October 2026 β req_done(9) signing off, slay. π
π¦ 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