Function report |
Source Code:block\blk-mq.c |
Create Date:2022-07-28 17:09:28 |
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_get_driver_tag
Proto:bool blk_mq_get_driver_tag(struct request *rq)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct request * | rq |
1024 | struct blk_mq_alloc_data data = { input parameter = q, hctx = mq_hctx, flags = BLK_MQ_REQ_NOWAIT, cmd_flags = op and common flags , } |
1032 | If tag != -1 Then Return true |
1038 | shared = blk_mq_tag_busy(hctx) |
1039 | tag = blk_mq_get_tag( & data) |
1040 | If tag >= 0 Then |
1041 | If shared Then |
1042 | rq_flags |= rack inflight for MQ |
1048 | Return tag != -1 |
Name | Describe |
---|---|
blk_mq_mark_tag_wait | Mark us waiting for a tag. For shared tags, this involves hooking us into* the tag wakeups. For non-shared tags, we can simply mark us needing a* restart. For both cases, take care to check the condition again after* marking us as waiting. |
blk_mq_dispatch_rq_list | Returns true if we did some work AND can potentially do more. |
__blk_mq_try_issue_directly |
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 |