xref: /openbmc/linux/block/Kconfig.iosched (revision 4a6a7bc2)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
23a65dfe8SJens Axboemenu "IO Schedulers"
33a65dfe8SJens Axboe
4d3484991SJens Axboeconfig MQ_IOSCHED_DEADLINE
5d3484991SJens Axboe	tristate "MQ deadline I/O scheduler"
6d3484991SJens Axboe	default y
7a7f7f624SMasahiro Yamada	help
8d3484991SJens Axboe	  MQ version of the deadline IO scheduler.
9d3484991SJens Axboe
1000e04393SOmar Sandovalconfig MQ_IOSCHED_KYBER
1100e04393SOmar Sandoval	tristate "Kyber I/O scheduler"
1200e04393SOmar Sandoval	default y
13a7f7f624SMasahiro Yamada	help
1400e04393SOmar Sandoval	  The Kyber I/O scheduler is a low-overhead scheduler suitable for
1500e04393SOmar Sandoval	  multiqueue and other fast devices. Given target latencies for reads and
1600e04393SOmar Sandoval	  synchronous writes, it will self-tune queue depths to achieve that
1700e04393SOmar Sandoval	  goal.
1800e04393SOmar Sandoval
19aee69d78SPaolo Valenteconfig IOSCHED_BFQ
20aee69d78SPaolo Valente	tristate "BFQ I/O scheduler"
215ef16305SChristoph Hellwig	select BLK_ICQ
22a7f7f624SMasahiro Yamada	help
23aee69d78SPaolo Valente	BFQ I/O scheduler for BLK-MQ. BFQ distributes the bandwidth of
24aee69d78SPaolo Valente	of the device among all processes according to their weights,
25aee69d78SPaolo Valente	regardless of the device parameters and with any workload. It
26aee69d78SPaolo Valente	also guarantees a low latency to interactive and soft
27aee69d78SPaolo Valente	real-time applications.  Details in
28898bd37aSMauro Carvalho Chehab	Documentation/block/bfq-iosched.rst
29aee69d78SPaolo Valente
30e21b7a0bSArianna Avanziniconfig BFQ_GROUP_IOSCHED
31e21b7a0bSArianna Avanzini       bool "BFQ hierarchical scheduling support"
32e21b7a0bSArianna Avanzini       depends on IOSCHED_BFQ && BLK_CGROUP
33*4a6a7bc2SUlf Hansson       default y
341d156646STejun Heo       select BLK_CGROUP_RWSTAT
35a7f7f624SMasahiro Yamada	help
36e21b7a0bSArianna Avanzini
37e21b7a0bSArianna Avanzini       Enable hierarchical scheduling in BFQ, using the blkio
38e21b7a0bSArianna Avanzini       (cgroups-v1) or io (cgroups-v2) controller.
39e21b7a0bSArianna Avanzini
408060c47bSChristoph Hellwigconfig BFQ_CGROUP_DEBUG
418060c47bSChristoph Hellwig	bool "BFQ IO controller debugging"
428060c47bSChristoph Hellwig	depends on BFQ_GROUP_IOSCHED
43a7f7f624SMasahiro Yamada	help
448060c47bSChristoph Hellwig	Enable some debugging help. Currently it exports additional stat
458060c47bSChristoph Hellwig	files in a cgroup which can be useful for debugging.
468060c47bSChristoph Hellwig
473a65dfe8SJens Axboeendmenu
48