drbd_resume_next(9)
π drbd_resume_next(9) β the Kernel API Manual, but make it make sense π
okay so bestie, we're in the kernel API manual and this one is drbd_resume_next(9) β yes it's a section 9 page, yes it's kernel internals, no you don't have to be scared. it's giving "niche but iconic" and honestly? we're gonna slay this. β¨
πΈ NAME πΈ
drbd_resume_next β resume resync on all devices that may resync now π¦
like, all of them. the ones that are allowed to go. the vibe check is "are you ready to resync? yes? go."
β SYNOPSIS β
bool drbd_resume_next (struct drbd_device *device );
that's it. that's the whole signature. a bool comes out the other side, and a struct drbd_device * goes in. no cap. π
π ARGUMENTS π
deviceβ DRBD device. that's the one. the device in question. the main character of this function call, literally. π
π₯ DESCRIPTION π₯
so what does it actually do? it resumes resync on all devices that may resync now β which is exactly what the NAME said, because this page is nothing if not consistent. π
and here's the important little detail you're not gonna skip: it's called from process context only. read that again. process context only. the two places it comes from are the admin command and the worker. so if you were thinking about calling this from somewhere spicy, bestie, no. π that is not the move.
process context only, fr fr. admin command and worker. don't get cute with it. π
π SEE ALSO π
- Kernel file
./drivers/block/drbd/drbd_worker.cβ go read it, it's right there, it's the whole neighbourhood π§ w_e_end_data_req(9)w_e_end_rsdata_req(9)w_send_dblock(9)w_send_read_req(9)drbd_pause_after(9)β the pause one, the counterpart, the other half of the story π«Άdrbd_start_resync(9)
and that's the page!! π go be normal about kernel resync, or don't, honestly, live your truth.
sign-off time: this little gem lives under ./drivers/block/drbd, it's dated October 2026, and it answers to the name drbd_resume_next(9) β so when you cite it, cite it with your whole chest. periodt. πβ¨π
π¦ 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