xref: /openbmc/linux/block/Kconfig.iosched (revision 1d156646)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
29361401eSDavid Howellsif BLOCK
33a65dfe8SJens Axboe
43a65dfe8SJens Axboemenu "IO Schedulers"
53a65dfe8SJens Axboe
6d3484991SJens Axboeconfig MQ_IOSCHED_DEADLINE
7d3484991SJens Axboe	tristate "MQ deadline I/O scheduler"
8d3484991SJens Axboe	default y
9d3484991SJens Axboe	---help---
10d3484991SJens Axboe	  MQ version of the deadline IO scheduler.
11d3484991SJens Axboe
1200e04393SOmar Sandovalconfig MQ_IOSCHED_KYBER
1300e04393SOmar Sandoval	tristate "Kyber I/O scheduler"
1400e04393SOmar Sandoval	default y
1500e04393SOmar Sandoval	---help---
1600e04393SOmar Sandoval	  The Kyber I/O scheduler is a low-overhead scheduler suitable for
1700e04393SOmar Sandoval	  multiqueue and other fast devices. Given target latencies for reads and
1800e04393SOmar Sandoval	  synchronous writes, it will self-tune queue depths to achieve that
1900e04393SOmar Sandoval	  goal.
2000e04393SOmar Sandoval
21aee69d78SPaolo Valenteconfig IOSCHED_BFQ
22aee69d78SPaolo Valente	tristate "BFQ I/O scheduler"
23aee69d78SPaolo Valente	---help---
24aee69d78SPaolo Valente	BFQ I/O scheduler for BLK-MQ. BFQ distributes the bandwidth of
25aee69d78SPaolo Valente	of the device among all processes according to their weights,
26aee69d78SPaolo Valente	regardless of the device parameters and with any workload. It
27aee69d78SPaolo Valente	also guarantees a low latency to interactive and soft
28aee69d78SPaolo Valente	real-time applications.  Details in
29898bd37aSMauro Carvalho Chehab	Documentation/block/bfq-iosched.rst
30aee69d78SPaolo Valente
31e21b7a0bSArianna Avanziniconfig BFQ_GROUP_IOSCHED
32e21b7a0bSArianna Avanzini       bool "BFQ hierarchical scheduling support"
33e21b7a0bSArianna Avanzini       depends on IOSCHED_BFQ && BLK_CGROUP
341d156646STejun Heo       select BLK_CGROUP_RWSTAT
35e21b7a0bSArianna Avanzini       ---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
438060c47bSChristoph Hellwig	---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
489361401eSDavid Howells
499361401eSDavid Howellsendif
50