w_send_read_req(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ w_send_read_req(9) β€” the kernel API manual, bestie edition ✨

Okay so picture this: it's a kernel API manual page, the manual is w_send_read_req, and honestly? It's giving "tiny little worker callback that does exactly one job and does it iconically." πŸ’… Let's get into it.


🌸 NAME 🌸

w_send_read_req β€” the worker callback that sends a read request (P_DATA_REQUEST) packet. That's it, that's the whole vibe. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

int w_send_read_req (struct drbd_work *w , int cancel );

Yeah she returns an int, and she takes exactly two things. No cap.


πŸ’– ARGUMENTS πŸ’–

  • w β€” the work object. Your little work item, just doing work things. ✨
  • cancel β€” "the connection will be closed anyways." Like okay, we're shutting it down regardless, so keep that in mind. 😭

🌈 SEE ALSO 🌈

Literally go look at the kernel file ./drivers/block/drbd/drbd_worker.c, and while you're there, check out the whole friend group:

The whole squad, fr fr. 🫢


Heads up bestie: this page lives at ./drivers/block/drbd, and the footer says October 2026 β€” yes, our girl is from the future (or at least from the October 2026 update of the ./drivers/block/drbd section of the Kernel API Manual). ⭐

And that's the tea. πŸ“ Stay iconic, read your kernel source, and remember: even tiny worker callbacks deserve main character energy. πŸ’œπŸ”₯πŸ‘‘

πŸ“¦ where this page comes from