函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\blk_types.h Create Date:2022-07-27 06:44:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:static inline bool op_is_sync(unsigned int op)

返回类型:bool

参数:

类型参数名称
unsigned intop
418  返回:op按位与REQ_OP_MASK的值恒等于 read sectors from the device op按位与REQ_SYNC按位或REQ_FUA按位或REQ_PREFLUSH的值
调用者
名称描述
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
rq_is_sync
blkg_rwstat_addlkg_rwstat_add - add a value to a blkg_rwstat*@rwstat: target blkg_rwstat*@op: REQ_OP and flags*@val: value to add* Add @val to @rwstat. The counters are chosen according to @rw. The* caller is responsible for synchronizing calls to this function.