table of contents
other versions
- stretch 4.9.168-1
BLK_POST_RUNTIME_RES(9) | Block Devices | BLK_POST_RUNTIME_RES(9) |
NAME¶
blk_post_runtime_resume - Post runtime resume processingSYNOPSIS¶
void blk_post_runtime_resume(struct request_queue * q, int err);
ARGUMENTS¶
qthe 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¶
April 2019 | Kernel Hackers Manual 4.9. |