Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Reads are always treated as synchronous, as are requests with the FUA or* PREFLUSH flag. Other operations may be marked as synchronous using the* REQ_SYNC flag.

Proto:static inline bool op_is_sync(unsigned int op)

Type:bool

Parameter:

TypeParameterName
unsigned intop
418  Return (op & REQ_OP_MASK) == read sectors from the device || op & ( REQ_SYNC | REQ_FUA | REQ_PREFLUSH)
Caller
NameDescribe
blk_mq_rq_ctx_init
blk_mq_make_request
kyber_limit_depth
bfq_limit_depthAsync I/O can easily starve sync I/O (both sync reads and sync* writes), by consuming all tags
bfq_bio_merge
bfq_allow_bio_merge