Function report |
Source Code:block\blk-mq.c |
Create Date:2022-07-28 17:08:52 |
Last Modify:2020-03-17 23:18:05 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__blk_mq_end_request
Proto:inline void __blk_mq_end_request(struct request *rq, blk_status_t error)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct request * | rq | |
blk_status_t | error |
520 | now = 0 |
522 | If Only need start/end time stamping if we have iostat or* blk stats enabled, or using an IO scheduler. Then now = ktime_get_ns() |
525 | If rq_flags & rack IO completion time Then |
526 | blk_mq_poll_stats_start(q) |
527 | blk_stat_add(rq, now) |
530 | If internal_tag != -1 Then blk_mq_sched_completed_request(rq, now) |
533 | blk_account_io_done(rq, now) |
535 | If * completion callback. Then |
536 | rq_qos_done(q, rq) |
537 | * completion callback.(rq, error) |
538 | Else |
539 | blk_mq_free_request(rq) |
Name | Describe |
---|---|
blk_mq_end_request |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |