Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:wbt_should_throttle

Proto:static inline bool wbt_should_throttle(struct rq_wb *rwb, struct bio *bio)

Type:bool

Parameter:

TypeParameterName
struct rq_wb *rwb
struct bio *bio
532  Case bio_op(bio) == REQ_OP_WRITE
536  If ( bottom bits req flags, * top bits REQ_OP. Use * accessors. & (REQ_SYNC | REQ_IDLE)) == (REQ_SYNC | REQ_IDLE) Then Return false
540  Case bio_op(bio) == REQ_OP_DISCARD
541  Return true
542  Default
543  Return false
Caller
NameDescribe
bio_to_wbt_flags