blk_post_runtime_suspend(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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’s runtime_suspend function, 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 πŸ“š


bye bestie 🫢 β€” this iconic little page came from ./block, dated October 2026 πŸ’–

πŸ“¦ where this page comes from