Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:static void bfq_requests_merged(struct request_queue *q, struct request *rq, struct request *next)

Type:void

Parameter:

TypeParameterName
struct request_queue *q
struct request *rq
struct request *next
2323  bfqq = bfq_init_rq(rq) , next_bfqq = bfq_init_rq(next)
2326  If Not bfqq Then Return
2338  If bfqq == next_bfqq && Not list_empty - tests whether a list is empty*@head: the list to test. && Not list_empty - tests whether a list is empty*@head: the list to test. && fifo_time < fifo_time Then
2341  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
2342  list_replace_init( & queuelist, & queuelist)
2343  fifo_time = fifo_time
2346  If fifo isn't expired, next request to serve == next Then fifo isn't expired, next request to serve = rq
2349  bfqg_stats_update_io_merged(bfqq_group(bfqq), op and common flags )