blk_post_runtime_suspend(9)
π blk_post_runtime_suspend(9) π
okay so welcome to the Kernel API Manual, bestie β todayβs page is all about blk_post_runtime_suspend(9), and it is giving post-runtime-suspend processing energy β¨. Keep your queue close and your PM core closer π«Ά.
β¨ NAME β¨
blk_post_runtime_suspend β Post runtime suspend processing π
πΈ SYNOPSIS πΈ
void blk_post_runtime_suspend (struct request_queue *q , int err );
π ARGUMENTS π
qβ the queue of the device, like literally the queue bestie π§errβ the return value of the deviceβsruntime_suspendfunction, no cap π
π¦ DESCRIPTION π¦
So hereβs the vibe: this function updates the queueβs runtime status according to the return value of the deviceβs runtime suspend function, and it marks last busy for the device so that PM core will try to auto suspend the device at a later time. periodt β
bestie reminder: this function should be called near the end of the deviceβs runtime_suspend callback. iykyk π
π SEE ALSO π
Kernel file ./block/blk-pm.c β go read, bestie π
blk_pm_runtime_init(9)blk_pre_runtime_suspend(9)blk_pre_runtime_resume(9)blk_post_runtime_resume(9)
bye bestie π«Ά β this iconic little page came from ./block, dated October 2026 π
π¦ 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