函数逻辑报告 |
Source Code:block\blk-mq.c |
Create Date:2022-07-27 18:44:13 |
Last Modify:2020-03-17 23:18:05 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__blk_mq_end_request
函数原型:inline void __blk_mq_end_request(struct request *rq, blk_status_t error)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct request * | rq | |
blk_status_t | error |
520 | now等于0 |
522 | 如果Only need start/end time stamping if we have iostat or* blk stats enabled, or using an IO scheduler.则now等于ktime_get_ns() |
525 | 如果rq_flags按位与rack IO completion time 则 |
526 | blk_mq_poll_stats_start(q) |
527 | blk_stat_add(rq, now) |
530 | 如果internal_tag不等于负1则blk_mq_sched_completed_request(rq, now) |
533 | blk_account_io_done(rq, now) |
535 | 如果* completion callback.则 |
536 | rq_qos_done(q, rq) |
537 | * completion callback.(rq, error) |
538 | 否则 |
539 | blk_mq_free_request(rq) |
名称 | 描述 |
---|---|
blk_mq_end_request |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |