Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:static void bfq_limit_depth(unsigned int op, struct blk_mq_alloc_data *data)

Type:void

Parameter:

TypeParameterName
unsigned intop
struct blk_mq_alloc_data *data
537  bfqd = elevator_data
539  If 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. && Not op_is_write(op) Then Return
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)