Movatterモバイル変換


[0]ホーム

URL:


blk_set_runtime_active
Prev Chapter 14. Block Devices Next

Name

blk_set_runtime_active — Force runtime status of the queue to be active

Synopsis

voidblk_set_runtime_active(struct request_queue *q);
 

Arguments

struct request_queue * q

the queue of the device

Description

If the device is left runtime suspended during system suspend the resume hook typically resumes the device and corrects runtime status accordingly. However, that does not affect the queue runtime PM status which is stillsuspended. This prevents processing requests from the queue.

This function can be used in driver's resume hook to correct queue runtime PM status and re-enable peeking requests from the queue. It should be called before first request is added to the queue.


Prev Up Next
blk_post_runtime_resume Home __blk_drain_queue

[8]ページ先頭

©2009-2025 Movatter.jp