linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] block/switching-sched.txt: Update to blk-mq schedulers
@ 2019-06-12  6:50 Andreas Herrmann
  2019-06-13  8:59 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Herrmann @ 2019-06-12  6:50 UTC (permalink / raw)
  To: Jonathan Corbet; +Cc: linux-doc, linux-kernel, linux-block


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

Signed-off-by: Andreas Herrmann <aherrmann@suse.com>
---
 Documentation/block/switching-sched.txt | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/Documentation/block/switching-sched.txt b/Documentation/block/switching-sched.txt
index 3b2612e342f1..7977f6fb8b20 100644
--- a/Documentation/block/switching-sched.txt
+++ b/Documentation/block/switching-sched.txt
@@ -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
-- 
2.13.7

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] block/switching-sched.txt: Update to blk-mq schedulers
  2019-06-12  6:50 [PATCH] block/switching-sched.txt: Update to blk-mq schedulers Andreas Herrmann
@ 2019-06-13  8:59 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2019-06-13  8:59 UTC (permalink / raw)
  To: Andreas Herrmann, Jonathan Corbet; +Cc: linux-doc, linux-kernel, linux-block

On 6/12/19 12:50 AM, Andreas Herrmann wrote:
> 
> Remove references to CFQ and legacy block layer which are gone.
> Update example with what's available under blk-mq.

Applied, thanks.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-06-13 15:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-12  6:50 [PATCH] block/switching-sched.txt: Update to blk-mq schedulers Andreas Herrmann
2019-06-13  8:59 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).