Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bfq-iosched.c Create Date:2022-07-28 17:56:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bfq_dispatch_request

Proto:static struct request *bfq_dispatch_request(struct blk_mq_hw_ctx *hctx)

Type:struct request

Parameter:

TypeParameterName
struct blk_mq_hw_ctx *hctx
4795  bfqd = elevator_data
4800  spin_lock_irq( & lock)
4802  in_serv_queue = bfq_queue in service
4803  waiting_rq = in_serv_queue && bfq_bfqq_wait_request(in_serv_queue)
4805  rq = __bfq_dispatch_request(hctx)
4807  idle_timer_disabled = waiting_rq && Not bfq_bfqq_wait_request(in_serv_queue)
4810  spin_unlock_irq( & lock)
4812  bfq_update_dispatch_stats(@queue: Pointer to the request queue that owns this hardware context., rq, in_serv_queue, idle_timer_disabled)
4815  Return rq