Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq.h Create Date:2022-07-28 12:15:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:blk_mq_put_dispatch_budget

Proto:static inline void blk_mq_put_dispatch_budget(struct blk_mq_hw_ctx *hctx)

Type:void

Parameter:

TypeParameterName
struct blk_mq_hw_ctx *hctx
184  q = @queue: Pointer to the request queue that owns this hardware context.
186  If put_budget Then put_budget(hctx)
Caller
NameDescribe
blk_mq_dispatch_rq_listReturns true if we did some work AND can potentially do more.
__blk_mq_try_issue_directly
blk_mq_do_dispatch_schedOnly SCSI implements .get_budget and .put_budget, and SCSI restarts* its queue by itself in its completion handler, so we don't need to* restart queue if .get_budget() returns BLK_STS_NO_RESOURCE.
blk_mq_do_dispatch_ctxOnly SCSI implements .get_budget and .put_budget, and SCSI restarts* its queue by itself in its completion handler, so we don't need to* restart queue if .get_budget() returns BLK_STS_NO_RESOURCE.