函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bfq-iosched.c Create Date:2022-07-27 19:31:03
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:This function is called to notify the scheduler that the requests* rq and 'next' have been merged, with 'next' going away

函数原型:static void bfq_requests_merged(struct request_queue *q, struct request *rq, struct request *next)

返回类型:void

参数:

类型参数名称
struct request_queue *q
struct request *rq
struct request *next
2323  bfqq等于bfq_init_rq(rq), next_bfqq等于bfq_init_rq(next)
2326  如果非bfqq则返回
2338  如果bfqq恒等于next_bfqq且非链表为空且非链表为空fifo_time小于fifo_time
2341  删除链表项并重新初始化
2342  list_replace_init( & queuelist, & queuelist)
2343  fifo_time等于fifo_time
2346  如果 fifo isn't expired, next request to serve 恒等于next fifo isn't expired, next request to serve 等于rq
2349  bfqg_stats_update_io_merged(bfqq_group(bfqq), op and common flags )