drbd_submit_peer_request(9)
okay so welcome to drbd_submit_peer_request(9), straight out of the Kernel API Manual β Unix bestie, this one is short but lowkey important π
β¨
πΈ NAME πΈ
drbd_submit_peer_request β and bestie, the descriptor after the dash is literally blank in the source π. No extra tagline, no little summary, just the function name being the main character.
β¨ SYNOPSIS β¨
Catch the signature, no cap:
int drbd_submit_peer_request (struct drbd_peer_request *peer_req );
π«Ά ARGUMENTS π«Ά
peer_reqβ peer request. That's the whole note. Short, sweet, and absolutely not going to elaborate further π
π DESCRIPTION π
So the way this works: it may spread the pages to multiple bios, depending on bio_add_page restrictions. It's giving "one request, possibly many bios," iykyk π¦
Here's the return-value vibe check:
- Returns
0if all the bios have been submitted β slay, we love a clean finish β¨ - Returns
-ENOMEMif we could not allocate enough bios π - Returns
-ENOSPCβ and the docs literally add β(any better suggestion?)β right there, which is such a mood π β if we have not been able tobio_add_pagea single page to an empty bio.
That -ENOSPC case should never happen and likely indicates that the lower level IO stack is in some way broken. And yes, this has been observed on certain Xen deployments. Not a drill, bestie ππ₯
π SEE ALSO π
- Kernel file
./drivers/block/drbd/drbd_receiver.c drbd_alloc_pages(9)drbd_socket_okay(9)drbd_may_finish_epoch(9)convert_state(9)
π cute little footer sign-off: this page comes from the source/version field ./drivers/block/drbd, dated October 2026, and it's all about drbd_submit_peer_request(9). bye bestie, go submit those peer requests responsibly πβ¨
π¦ 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