Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\blkdev.h Create Date:2022-07-28 05:46:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:rq_mergeable

Proto:static inline bool rq_mergeable(struct request *rq)

Type:bool

Parameter:

TypeParameterName
struct request *rq
741  If blk_rq_is_passthrough(rq) Then Return false
744  If req_op(rq) == REQ_OP_FLUSH Then Return false
747  If req_op(rq) == REQ_OP_WRITE_ZEROES Then Return false
750  If op and common flags & REQ_NOMERGE_FLAGS Then Return false
752  If rq_flags & lags that prevent us from merging requests: Then Return false
755  Return true
Caller
NameDescribe
elv_rqhash_find
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.
blk_rq_merge_ok
blk_mq_sched_try_insert_merge
dd_insert_requestadd rq to rbtree and fifo
bfq_insert_request