From 2f808c92cc8d09a42e66f522c6c3f798cabf52d3 Mon Sep 17 00:00:00 2001 From: Peter Marko Date: Thu, 7 Aug 2025 17:46:03 +0200 Subject: [PATCH] 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 Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- .../bitbake-user-manual/bitbake-user-manual-ref-variables.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst index 1545c914cc..810f886897 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst @@ -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).