函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bfq_may_be_close_cooperator

函数原型:static bool bfq_may_be_close_cooperator(struct bfq_queue *bfqq, struct bfq_queue *new_bfqq)

返回类型:bool

参数:

类型参数名称
struct bfq_queue *bfqq
struct bfq_queue *new_bfqq
2534  如果bfq_too_late_for_merging(new_bfqq)则返回:false
2537  如果bfq_class_idle(bfqq)或bfq_class_idle(new_bfqq)或current ioprio and ioprio class 不等于current ioprio and ioprio class 则返回:false
2546  如果BFQQ_SEEKY(bfqq)或BFQQ_SEEKY(new_bfqq)则返回:false
2554  如果非bfq_bfqq_sync(bfqq)或非bfq_bfqq_sync(new_bfqq)则返回:false
2557  返回:true
调用者
名称描述
bfq_setup_cooperatorAttempt to schedule a merge of bfqq with the currently in-service* queue or with a close queue among the scheduled queues