Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation: block: ioprio: Update schedulers

This doc hasn't been touched in a while, in the meantime some
new io schedulers were added (e.g. all of mq), some with ioprio
support.

Also reword the introduction to remove reference to CFQ and the
limitation that io priorities only work on reads, which is no longer
true.

Signed-off-by: Christian Loehle <christian.loehle@arm.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/a86cfdc8-016f-40f1-8b58-0cb15d2a792c@arm.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Christian Loehle and committed by
Jens Axboe
b2e792ae baa7d536

+6 -7
+6 -7
Documentation/block/ioprio.rst
··· 6 6 Intro 7 7 ----- 8 8 9 - With the introduction of cfq v3 (aka cfq-ts or time sliced cfq), basic io 10 - priorities are supported for reads on files. This enables users to io nice 11 - processes or process groups, similar to what has been possible with cpu 12 - scheduling for ages. This document mainly details the current possibilities 13 - with cfq; other io schedulers do not support io priorities thus far. 9 + The io priority feature enables users to io nice processes or process groups, 10 + similar to what has been possible with cpu scheduling for ages. Support for io 11 + priorities is io scheduler dependent and currently supported by bfq and 12 + mq-deadline. 14 13 15 14 Scheduling classes 16 15 ------------------ 17 16 18 - CFQ implements three generic scheduling classes that determine how io is 19 - served for a process. 17 + Three generic scheduling classes are implemented for io priorities that 18 + determine how io is served for a process. 20 19 21 20 IOPRIO_CLASS_RT: This is the realtime io class. This scheduling class is given 22 21 higher priority than any other in the system, processes from this class are