Skip to contentSkip to conversation

block/switching-sched.txt: Update to blk-mq schedulers

PATCH Applied Andreas Herrmann 2 participants 2 messages Jun 12, 2019 – Jun 13, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block/switching-sched.txt: Update to blk-mq schedulers

Remove references to CFQ and legacy block layer which are gone. Update example with what's available under blk-mq.

---
 Documentation/block/switching-sched.txt | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)
Documentation/block/switching-sched.txt +8 -10
index 3b2612e342f1..7977f6fb8b20 100644
@@ -13,11 +13,9 @@ you can do so by typing:
 
 # mount none /sys -t sysfs
 
-As of the Linux 2.6.10 kernel, it is now possible to change the
-IO scheduler for a given block device on the fly (thus making it possible,
-for instance, to set the CFQ scheduler for the system default, but
-set a specific device to use the deadline or noop schedulers - which
-can improve that device's throughput).
+It is possible to change the IO scheduler for a given block device on
+the fly to select one of mq-deadline, none, bfq, or kyber schedulers -
+which can improve that device's throughput.
 
 To set a specific scheduler, simply do this:
 
@@ -30,8 +28,8 @@ The list of defined schedulers can be found by simply doing
 a "cat /sys/block/DEV/queue/scheduler" - the list of valid names
 will be displayed, with the currently selected scheduler in brackets:
 
-# cat /sys/block/hda/queue/scheduler
-noop deadline [cfq]
-# echo deadline > /sys/block/hda/queue/scheduler
-# cat /sys/block/hda/queue/scheduler
-noop [deadline] cfq
+# cat /sys/block/sda/queue/scheduler
+[mq-deadline] kyber bfq none
+# echo none >/sys/block/sda/queue/scheduler
+# cat /sys/block/sda/queue/scheduler
+[none] mq-deadline kyber bfq
Signature · 1 line
2.13.7
maintainer Applied
#1 lore raw
Quoted 3 lines · Andreas Herrmann

Remove references to CFQ and legacy block layer which are gone. Update example with what's available under blk-mq.

Applied, thanks.

Signature · 1 line
Jens Axboe