summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-08-21 00:28:30 +0200
committerLennart Poettering <lennart@poettering.net>2011-08-21 20:07:45 +0200
commit94959f0fa0c19ae1db0e63d9a5dfc94c660825ba (patch)
tree22733bd2908d5001892f454cb786c279cd538e1f /man
parent9e37286844f67ca7c59e923dd27ad193dfdda7eb (diff)
exec: allow passing arbitrary path names to blkio cgroup attributes
If a device node is specified, then adjust the bandwidth/weight of it, otherwise find the backing block device of the file system the path refers to and adjust its bandwidth/weight.
Diffstat (limited to 'man')
-rw-r--r--man/systemd.exec.xml38
1 files changed, 24 insertions, 14 deletions
diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml
index 6bc8bf3e79..ce6833b843 100644
--- a/man/systemd.exec.xml
+++ b/man/systemd.exec.xml
@@ -859,10 +859,15 @@
processes. Takes either a single
weight value (between 10 and 1000) to
set the default block IO weight, or a
- space separated pair of a device node
- path and a weight value to specify the
+ space separated pair of a file path
+ and a weight value to specify the
device specific weight value (Example:
- "/dev/sda 500"). This controls the
+ "/dev/sda 500"). The file path may be
+ specified as path to a block device
+ node or as any other file in which
+ case the backing block device of the
+ file system of the file is
+ determined. This controls the
<literal>blkio.weight</literal> and
<literal>blkio.weight_device</literal>
control group attributes, which
@@ -879,17 +884,22 @@
<term><varname>BlockIOWriteBandwidth=</varname></term>
<listitem><para>Set the per-device
- overall block IO bandwith limit for the
- executed processes. Takes a space
- separated pair of a device node path
- and a bandwith value (in bytes per
- second) to specify the device specific
- bandwidth. If the bandwith is suffixed
- with K, M, G, or T the specified
- bandwith is parsed as Kilobytes,
- Megabytes, Gigabytes, resp. Terabytes
- (Example: "/dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0 5M"). This
- controls the
+ overall block IO bandwith limit for
+ the executed processes. Takes a space
+ separated pair of a file path and a
+ bandwith value (in bytes per second)
+ to specify the device specific
+ bandwidth. The file path may be
+ specified as path to a block device
+ node or as any other file in which
+ case the backing block device of the
+ file system of the file is determined.
+ If the bandwith is suffixed with K, M,
+ G, or T the specified bandwith is
+ parsed as Kilobytes, Megabytes,
+ Gigabytes, resp. Terabytes (Example:
+ "/dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0
+ 5M"). This controls the
<literal>blkio.read_bps_device</literal>
and
<literal>blkio.write_bps_device</literal>