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 <saldorin@web.de>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
Termuellinator 2024-02-16 14:33:53 +01:00 committed by David Sterba
parent 126049c312
commit 4a1133cb60
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ belong to the same accounting group.
.. code-block:: bash .. 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 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`. BTRFS-specific way using files :file:`/sys/fs/btrfs/FSID/devinfo/DEVID/scrub_speed_max`.