---
name: "blk_post_runtime_resume"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/blk_post_runtime_resume"
---

# blk\_post\_runtime\_resume(9)

Post runtime resume processing

## NAME

blk\_post\_runtime\_resume - Post runtime resume processing

## SYNOPSIS

**void blk\_post\_runtime\_resume(struct request\_queue \*** *q***, int** *err***);**

## ARGUMENTS

*q*

the queue of the device

*err*

return value of the device's runtime\_resume function

## DESCRIPTION

Update the queue's runtime status according to the return value of the device's runtime\_resume function. If it is successfully resumed, process the requests that are queued into the device's queue when it is resuming and then mark last busy and initiate autosuspend for it.

This function should be called near the end of the device's runtime\_resume callback.

## COPYRIGHT
