Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:For single queue devices, default to using mq-deadline. If we have multiple* queues or mq-deadline is not available, default to "none".

Proto:static struct elevator_type *elevator_get_default(struct request_queue *q)

Type:struct elevator_type

Parameter:

TypeParameterName
struct request_queue *q
631  If nr_hw_queues != 1 Then Return NULL
634  Return elevator_get(q, "mq-deadline", false)
Caller
NameDescribe
elevator_init_mqFor a device queue that has no required features, use the default elevator* settings. Otherwise, use the first elevator available matching the required* features. If no suitable elevator is find or if the chosen elevator