[PATCHv2] Documentation: block: ioprio: Update schedulers
Commit Message
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>
---
Documentation/block/ioprio.rst | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
Comments
Looks good to me,
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
On Thu, 18 Jan 2024 09:29:56 +0000, Christian Loehle wrote:
> 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.
>
> [...]
Applied, thanks!
[1/1] Documentation: block: ioprio: Update schedulers
commit: b2e792ae883a0aa976d4176dfa7dc933263440ea
Best regards,
@@ -6,17 +6,16 @@ Block io priorities
Intro
-----
-With the introduction of cfq v3 (aka cfq-ts or time sliced cfq), basic io
-priorities are supported for reads on files. This enables users to io nice
-processes or process groups, similar to what has been possible with cpu
-scheduling for ages. This document mainly details the current possibilities
-with cfq; other io schedulers do not support io priorities thus far.
+The io priority feature enables users to io nice processes or process groups,
+similar to what has been possible with cpu scheduling for ages. Support for io
+priorities is io scheduler dependent and currently supported by bfq and
+mq-deadline.
Scheduling classes
------------------
-CFQ implements three generic scheduling classes that determine how io is
-served for a process.
+Three generic scheduling classes are implemented for io priorities that
+determine how io is served for a process.
IOPRIO_CLASS_RT: This is the realtime io class. This scheduling class is given
higher priority than any other in the system, processes from this class are