Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bfq_may_be_close_cooperator

Proto:static bool bfq_may_be_close_cooperator(struct bfq_queue *bfqq, struct bfq_queue *new_bfqq)

Type:bool

Parameter:

TypeParameterName
struct bfq_queue *bfqq
struct bfq_queue *new_bfqq
2534  If bfq_too_late_for_merging(new_bfqq) Then Return false
2537  If bfq_class_idle(bfqq) || bfq_class_idle(new_bfqq) || current ioprio and ioprio class != current ioprio and ioprio class Then Return false
2546  If BFQQ_SEEKY(bfqq) || BFQQ_SEEKY(new_bfqq) Then Return false
2554  If Not bfq_bfqq_sync(bfqq) || Not bfq_bfqq_sync(new_bfqq) Then Return false
2557  Return true
Caller
NameDescribe
bfq_setup_cooperatorAttempt to schedule a merge of bfqq with the currently in-service* queue or with a close queue among the scheduled queues