blk_pre_runtime_resume(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 🌈

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