w_send_read_req(9)
β¨ 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:
w_e_end_data_req(9)w_e_end_rsdata_req(9)w_send_dblock(9)drbd_pause_after(9)drbd_resume_next(9)drbd_start_resync(9)
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 theOctober 2026update of the./drivers/block/drbdsection 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
- 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