mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Documentation: block: ioprio: Update schedulers
@ 2024-01-17 12:20 Christian Loehle
  2024-01-17 12:49 ` Johannes Thumshirn
  0 siblings, 1 reply; 3+ messages in thread
From: Christian Loehle @ 2024-01-17 12:20 UTC (permalink / raw)
  To: linux-kernel, axboe, bvanassche, linux-block, corbet

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.

Signed-off-by: Christian Loehle <christian.loehle@arm.com>
---
 Documentation/block/ioprio.rst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Documentation/block/ioprio.rst b/Documentation/block/ioprio.rst
index a25c6d5df87b..5410308888d2 100644
--- a/Documentation/block/ioprio.rst
+++ b/Documentation/block/ioprio.rst
@@ -9,14 +9,14 @@ 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.
+scheduling for ages. Support for io priorities is io scheduler dependent and
+currently supported by bfq, mq-deadline and cfq.
 
 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
-- 
2.34.1

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

* Re: [PATCH] Documentation: block: ioprio: Update schedulers
  2024-01-17 12:20 [PATCH] Documentation: block: ioprio: Update schedulers Christian Loehle
@ 2024-01-17 12:49 ` Johannes Thumshirn
  2024-01-17 15:11   ` Christian Loehle
  0 siblings, 1 reply; 3+ messages in thread
From: Johannes Thumshirn @ 2024-01-17 12:49 UTC (permalink / raw)
  To: Christian Loehle, linux-kernel, axboe, bvanassche, linux-block, corbet

On 17.01.24 13:20, 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.
> 
> Signed-off-by: Christian Loehle <christian.loehle@arm.com>
> ---
>   Documentation/block/ioprio.rst | 8 ++++----
>   1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/Documentation/block/ioprio.rst b/Documentation/block/ioprio.rst
> index a25c6d5df87b..5410308888d2 100644
> --- a/Documentation/block/ioprio.rst
> +++ b/Documentation/block/ioprio.rst
> @@ -9,14 +9,14 @@ 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.
> +scheduling for ages. Support for io priorities is io scheduler dependent and
> +currently supported by bfq, mq-deadline and cfq.

CFQ went away with blk-mq and got replaced by BFQ IIRC.


>   
>   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


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

* Re: [PATCH] Documentation: block: ioprio: Update schedulers
  2024-01-17 12:49 ` Johannes Thumshirn
@ 2024-01-17 15:11   ` Christian Loehle
  0 siblings, 0 replies; 3+ messages in thread
From: Christian Loehle @ 2024-01-17 15:11 UTC (permalink / raw)
  To: Johannes Thumshirn, linux-kernel, axboe, bvanassche, linux-block, corbet

On 17/01/2024 12:49, Johannes Thumshirn wrote:
> On 17.01.24 13:20, 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.
>>
>> Signed-off-by: Christian Loehle <christian.loehle@arm.com>
>> ---
>>   Documentation/block/ioprio.rst | 8 ++++----
>>   1 file changed, 4 insertions(+), 4 deletions(-)
>>
>> diff --git a/Documentation/block/ioprio.rst b/Documentation/block/ioprio.rst
>> index a25c6d5df87b..5410308888d2 100644
>> --- a/Documentation/block/ioprio.rst
>> +++ b/Documentation/block/ioprio.rst
>> @@ -9,14 +9,14 @@ 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.
>> +scheduling for ages. Support for io priorities is io scheduler dependent and
>> +currently supported by bfq, mq-deadline and cfq.
> 
> CFQ went away with blk-mq and got replaced by BFQ IIRC.

Right, I'll remove the mentioning of CFQ here and in the introductory sentence.
The introductory sentence also mentions "basic io priorities are supported for
reads on files", a limitation which hasn't been there in a long time.
Thanks, will send out v2 tomorrow.

> 
> 
>>   
>>   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
> 


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

end of thread, other threads:[~2024-01-17 15:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-17 12:20 [PATCH] Documentation: block: ioprio: Update schedulers Christian Loehle
2024-01-17 12:49 ` Johannes Thumshirn
2024-01-17 15:11   ` Christian Loehle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®