From 4a1133cb60c4fec98bc8b67a25d77cfa54ca4d96 Mon Sep 17 00:00:00 2001 From: Termuellinator Date: Fri, 16 Feb 2024 14:33:53 +0100 Subject: [PATCH] btrfs-progs: docs: correct systemd-run argument for limiting bandwith There's an error in resource control command name, the argument is IOReadBandwidthMax instead of IOBandwidthReadMax. See https://www.freedesktop.org/software/systemd/man/latest/systemd.resource-control.html [ci skip] Pull-request: #744 Author: Termuellinator Signed-off-by: David Sterba --- Documentation/ch-scrub-intro.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/ch-scrub-intro.rst b/Documentation/ch-scrub-intro.rst index 91f42e47..7c01d51f 100644 --- a/Documentation/ch-scrub-intro.rst +++ b/Documentation/ch-scrub-intro.rst @@ -51,7 +51,7 @@ belong to the same accounting group. .. code-block:: bash - $ systemd-run -p "IOBandwidthReadMax=/dev/sdx 10M" btrfs scrub start -B / + $ systemd-run -p "IOReadBandwidthMax=/dev/sdx 10M" btrfs scrub start -B / Since linux 5.14 it's possible to set the per-device bandwidth limits in a BTRFS-specific way using files :file:`/sys/fs/btrfs/FSID/devinfo/DEVID/scrub_speed_max`.