函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rq_is_sync

函数原型:static inline bool rq_is_sync(struct request *rq)

返回类型:bool

参数:

类型参数名称
struct request *rq
736  返回: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.
调用者
名称描述
blk_mq_free_request
bfq_choose_reqLifted from AS - choose which of rq1 and rq2 that is best served now.* We choose the request that is closer to the head right now. Distance* behind the head is penalized and only allowed to a certain extent.
bfq_add_request
bfq_remove_request
bfq_allow_bio_merge
bfq_rq_enqueuedCalled when a new fs request (rq) is added to bfqq. Check if there's* something we should do about it.
__bfq_insert_requestrns true if it causes the idle timer to be disabled
bfq_init_rq