函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\mq-deadline.c Create Date:2022-07-27 19:26:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:One confusing aspect here is that we get called for a specific* hardware queue, but we may return a request that is for a* different hardware queue. This is because mq-deadline has shared* state for all hardware queues, in terms of sorting, FIFOs, etc.

函数原型:static struct request *dd_dispatch_request(struct blk_mq_hw_ctx *hctx)

返回类型:struct request

参数:

类型参数名称
struct blk_mq_hw_ctx *hctx
383  dd等于elevator_data
386  加自旋锁
387  rq等于deadline_dispatch_requests selects the best request according to* read/write expire, fifo_batch, etc
388  自旋锁解锁
390  返回:rq