Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq.c Create Date:2022-07-28 17:09:55
Last Modify:2020-03-17 23:18:05 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:This function is often used for pausing .queue_rq() by driver when* there isn't enough resource or some conditions aren't satisfied, and* BLK_STS_RESOURCE is usually returned.* We do not guarantee that dispatch can be drained or blocked

Proto:void blk_mq_stop_hw_queues(struct request_queue *q)

Type:void

Parameter:

TypeParameterName
struct request_queue *q
1542  queue_for_each_hw_ctx(q, hctx, i)
1543  This function is often used for pausing .queue_rq() by driver when* there isn't enough resource or some conditions aren't satisfied, and* BLK_STS_RESOURCE is usually returned.* We do not guarantee that dispatch can be drained or blocked