Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lk_rq_set_mixed_merge - mark a request as mixed merge*@rq: request to mark as mixed merge* Description:*@rq is about to be mixed merged. Make sure the attributes* which can be mixed are set in each bio and mark @rq as mixed* merged.

Proto:void blk_rq_set_mixed_merge(struct request *rq)

Type:void

Parameter:

TypeParameterName
struct request *rq
680  ff = op and common flags & REQ_FAILFAST_MASK
683  If rq_flags & merge of different types, fail separately Then Return
691  When bio cycle
692  WARN_ON_ONCE(( bottom bits req flags, * top bits REQ_OP. Use * accessors. & REQ_FAILFAST_MASK) && ( bottom bits req flags, * top bits REQ_OP. Use * accessors. & REQ_FAILFAST_MASK) != ff)
694  bottom bits req flags, * top bits REQ_OP. Use * accessors. |= ff
696  rq_flags |= merge of different types, fail separately
Caller
NameDescribe
bio_attempt_front_merge
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.