p9_client_flush(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:


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