函数逻辑报告 |
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 |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |