bitbake: doc/bitbake-user-manual-ref-variables: update BB_TASK_IONICE_LEVEL

Provided example does not work due to two problems.

CFQ scheduler was removed in kernel 4.20 (per [1])
Replace it with BFQ scheduler.

Also fix typo "queu" -> "queue".

[1] https://en.wikipedia.org/wiki/I/O_scheduling

(Bitbake rev: 6716853e35ebc2e1523210a83b483cdacb600295)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Peter Marko 2025-08-07 17:46:03 +02:00 committed by Richard Purdie
parent 576d8e4b40
commit 2f808c92cc

View File

@ -770,11 +770,11 @@ overview of their function and contents.
.. note::
In order for your I/O priority settings to take effect, you need the
Completely Fair Queuing (CFQ) Scheduler selected for the backing block
Budget Fair Queuing (BFQ) Scheduler selected for the backing block
device. To select the scheduler, use the following command form where
device is the device (e.g. sda, sdb, and so forth)::
$ sudo sh -c "echo cfq > /sys/block/device/queu/scheduler"
$ sudo sh -c "echo bfq > /sys/block/device/queue/scheduler"
:term:`BB_TASK_NICE_LEVEL`
Allows specific tasks to change their priority (i.e. nice level).