Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bfq_check_ioprio_change

Proto:static void bfq_check_ioprio_change(struct bfq_io_cq *bic, struct bio *bio)

Type:void

Parameter:

TypeParameterName
struct bfq_io_cq *bic
struct bio *bio
5022  bfqd = bic_to_bfqd(bic)
5024  ioprio = ioprio
5030  If Value for the false possibility is greater at compile time(!bfqd) || Value is more likely to compile time( per (request_queue, blkcg) ioprio == ioprio) Then Return
5033  per (request_queue, blkcg) ioprio = ioprio
5035  bfqq = bic_to_bfqq(bic, false)
5036  If bfqq Then
5037  bfq_release_process_ref(bfqd, bfqq)
5038  bfqq = bfq_get_queue(bfqd, bio, BLK_RW_ASYNC, bic)
5039  bic_set_bfqq(bic, bfqq, false)
5042  bfqq = bic_to_bfqq(bic, true)
5043  If bfqq Then Update the entity prio values; note that the new values will not* be used until the next (re)activation.
Caller
NameDescribe
bfq_init_rq