Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Enable wbt if defaults are configured that way

Proto:void wbt_enable_default(struct request_queue *q)

Type:void

Parameter:

TypeParameterName
struct request_queue *q
646  rqos = wbt_rq_qos(q)
648  If rqos Then Return
652  If Not blk_queue_registered(q) Then Return
655  If queue_is_mq(q) && IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_BLK_WBT_MQ) Then wbt_init(q)
Caller
NameDescribe
blk_register_queuelk_register_queue - register a block layer queue with sysfs*@disk: Disk of which the request queue should be registered with sysfs.