Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:elv_merge_requests

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

Type:void

Parameter:

TypeParameterName
struct request_queue *q
struct request *rq
struct request *next
407  e = elevator
409  If requests_merged Then requests_merged(q, rq, next)
412  elv_rqhash_reposition(q, rq)
413  last_merge = rq
Caller
NameDescribe
attempt_mergeFor non-mq, this has to be called with the request spinlock acquired.* For mq with scheduling, the appropriate queue wide lock should be held.