Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__bfq_put_async_bfqq

Proto:static void __bfq_put_async_bfqq(struct bfq_data *bfqd, struct bfq_queue **bfqq_ptr)

Type:void

Parameter:

TypeParameterName
struct bfq_data *bfqd
struct bfq_queue **bfqq_ptr
6283  bfqq = bfqq_ptr
6285  bfq_log(bfqd, "put_async_bfqq: %p", bfqq)
6286  If bfqq Then
6287  bfq_bfqq_move(bfqd, bfqq, root bfq_group for the device )
6289  bfq_log_bfqq(bfqd, bfqq, "put_async_bfqq: putting %p, %d", bfqq, ce counter )
6291  Task holds one reference to the queue, dropped when task exits. Each rq* in-flight on this queue also holds a reference, dropped when rq is freed.* Scheduler lock must be held here. Recall not to use bfqq after calling* this function on it.
6292  * bfqq_ptr = NULL
Caller
NameDescribe
bfq_put_async_queuesRelease all the bfqg references to its async queues. If we are* deallocating the group these queues may still contain requests, so* we reparent them to the root cgroup (i.e., the only one that will