p9_client_flush(9)
π p9_client_flush β flush (cancel) a request
Okay bestie, welcome to the glow-up of p9_client_flush, straight out of the Kernel API Manual β¨ this one lives in the 9p corner of the kernel and it's lowkey iconic.
πΈ SYNOPSIS πΈ
int p9_client_flush (struct p9_client *c , struct p9_req_t *oldreq );
That's the whole vibe: it returns an int, takes two things, and gets to work. π«Ά
π ARGUMENTS π
cβ the client state. Your whole client situation, passed in. πoldreqβ the request you want to cancel. The one getting flushed. Bye bestie π
π¦ DESCRIPTION π¦
So here's the tea, fr fr: this sends a flush for one particular request, and then it links the flush request to the original request. Two requests, holding hands. π«Άβ¨
Now the important part β read this carefully, no cap:
The current code only supports a single flush request, even though the protocol itself allows for multiple flush requests to be sent for a single request. So the protocol's out here with main character energy, and the code is like... one (1) flush. That's the limitation. π
π SEE ALSO π
Kernel file ./net/9p/client.c, plus the whole friend group β go say hi:
p9_tag_alloc(9)p9_tag_lookup(9)p9_tag_remove(9)p9_tag_cleanup(9)p9_client_cb(9)p9_parse_header(9)p9_check_errors(9)p9_client_rpc(9)p9_client_zc_rpc(9)
Sign-off szn: this little masterpiece is served from ./net/9p, dated October 2026, no cap π Go flush something responsibly, bestie. π
β¨
π¦ 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