Function report |
Source Code:block\blk-mq-sched.c |
Create Date:2022-07-28 17:14:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Only SCSI implements .get_budget and .put_budget, and SCSI restarts* its queue by itself in its completion handler, so we don't need to* restart queue if .get_budget() returns BLK_STS_NO_RESOURCE.
Proto:static void blk_mq_do_dispatch_ctx(struct blk_mq_hw_ctx *hctx)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct blk_mq_hw_ctx * | hctx |
140 | Do |
143 | If Not sbitmap_any_bit_set( & @ctx_map: Bitmap for each software queue. If bit is on, there is a* pending request in that software queue.) Then Break |
146 | If Not blk_mq_get_dispatch_budget(hctx) Then Break |
149 | rq = blk_mq_dequeue_from_ctx(hctx, ctx) |
150 | If Not rq Then |
152 | Break |
163 | ctx = blk_mq_next_ctx(hctx, mq_ctx) |
Name | Describe |
---|---|
blk_mq_sched_dispatch_requests |
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 |