blk_pre_runtime_resume(9)
β¨ blk_pre_runtime_resume β¨
okay bestie, welcome to the kernel API manual for blk_pre_runtime_resume(9) β no cap, this is the little function that gets your device's queue ready to wake up π
πΈ NAME πΈ
blk_pre_runtime_resume β pre runtime resume processing π«Ά literally the "get ready to wake up" step
π SYNOPSIS π
void blk_pre_runtime_resume (struct request_queue *q );
π¦ ARGUMENTS π¦
qβ the queue of the device π (yes, that's the whole argument list, she's lowkey simple like that)
π DESCRIPTION π
So here's the vibe: this function updates the queue's runtime status to RESUMING in preparation for the runtime resume of the device β¨ it's giving "wake-up prep era".
You should call this function near the start of the device's runtime_resume callback β like, first thing, main character energy, before anything else gets to happen π
fr fr: runtime_resume callback, near the start. Don't make her wait π
π SEE ALSO π
- Kernel file
./block/blk-pm.cπ blk_pm_runtime_init(9)blk_pre_runtime_suspend(9)blk_post_runtime_suspend(9)blk_post_runtime_resume(9)
the whole friend group, iykyk π§
aaaand that's the page bestie π this one comes from the kernel file directory ./block and it's dated October 2026, so like, mark your calendars π
mwah, slay, 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