函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bfq-iosched.c Create Date:2022-07-27 19:29:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Async I/O can easily starve sync I/O (both sync reads and sync* writes), by consuming all tags

函数原型:static void bfq_limit_depth(unsigned int op, struct blk_mq_alloc_data *data)

返回类型:void

参数:

类型参数名称
unsigned intop
struct blk_mq_alloc_data *data
537  bfqd等于elevator_data
539  如果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.且非op_is_write(op)则返回
542  shallow_depth等于* Depth limits used in bfq_limit_depth (see comments on the * function)[!! number of weight-raised busy @bfq_queues ][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.]
545  bfq_log(bfqd, "[%s] wr_busy %d sync %d depth %u", __func__, number of weight-raised busy @bfq_queues , 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., shallow_depth)