From 246be82bd4192452a7cf760bb233e7e093c03d8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 9 Jan 2020 11:00:44 +0100 Subject: [PATCH] man: link to specific sections of cgroups-v2 document The document is rather huge, and a specific link is easier to consume. The form is a bit strange because troff puts the symlink at the bottom, keyed by title, so we need to use the same link target in all places. --- man/systemd.resource-control.xml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/man/systemd.resource-control.xml b/man/systemd.resource-control.xml index 4c9bfcc525..ec3f6acbd5 100644 --- a/man/systemd.resource-control.xml +++ b/man/systemd.resource-control.xml @@ -274,7 +274,7 @@ useful in order to always inherit all of the protection afforded by ancestors. This controls the memory.min control group attribute. For details about this control group attribute, see Control Groups v2. + url="https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html#memory-interface-files">Memory Interface Files. This setting is supported only if the unified control group hierarchy is used and disables MemoryLimit=. @@ -300,7 +300,7 @@ useful in order to always inherit all of the protection afforded by ancestors. This controls the memory.low control group attribute. For details about this control group attribute, see Control Groups v2. + url="https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html#memory-interface-files">Memory Interface Files. This setting is supported only if the unified control group hierarchy is used and disables MemoryLimit=. @@ -325,7 +325,7 @@ system. If assigned the special value infinity, no memory throttling is applied. This controls the memory.high control group attribute. For details about this control group attribute, see - Control Groups v2. + Memory Interface Files. This setting is supported only if the unified control group hierarchy is used and disables MemoryLimit=. @@ -346,7 +346,7 @@ percentage value may be specified, which is taken relative to the installed physical memory on the system. If assigned the special value infinity, no memory limit is applied. This controls the memory.max control group attribute. For details about this control group attribute, see - Control Groups v2. + Memory Interface Files. This setting replaces MemoryLimit=. @@ -362,7 +362,7 @@ parsed as Kilobytes, Megabytes, Gigabytes, or Terabytes (with the base 1024), respectively. If assigned the special value infinity, no swap limit is applied. This controls the memory.swap.max control group attribute. For details about this control group attribute, - see Control Groups v2. + see Memory Interface Files. This setting is supported only if the unified control group hierarchy is used and disables MemoryLimit=. @@ -431,8 +431,9 @@ hierarchy is used on the system. Takes a single weight value (between 1 and 10000) to set the default block I/O weight. This controls the io.weight control group attribute, which defaults to 100. For details about this control group attribute, see Control Groups v2. The available I/O - bandwidth is split up among all units within one slice relative to their block I/O weight. + url="https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html#io-interface-files">IO Interface Files. + The available I/O bandwidth is split up among all units within one slice relative to their block + I/O weight. While StartupIOWeight= only applies to the startup phase of the system, @@ -457,7 +458,7 @@ device of the file system of the file is determined. This controls the io.weight control group attribute, which defaults to 100. Use this option multiple times to set weights for multiple devices. For details about this control group attribute, see Control Groups v2. + url="https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html#io-interface-files">IO Interface Files. This setting replaces BlockIODeviceWeight= and disables settings prefixed with BlockIO or StartupBlockIO. @@ -479,7 +480,7 @@ "/dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0 5M"). This controls the io.max control group attributes. Use this option multiple times to set bandwidth limits for multiple devices. For details about this control group attribute, see Control Groups v2. + url="https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html#io-interface-files">IO Interface Files. These settings replace BlockIOReadBandwidth= and @@ -503,7 +504,7 @@ "/dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0 1K"). This controls the io.max control group attributes. Use this option multiple times to set IOPS limits for multiple devices. For details about this control group attribute, see Control Groups v2. + url="https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html#io-interface-files">IO Interface Files. These settings are supported only if the unified control group hierarchy is used and disable settings @@ -522,7 +523,7 @@ system of the file is determined. This controls the io.latency control group attribute. Use this option multiple times to set latency target for multiple devices. For details about this control group attribute, see Control Groups v2. + url="https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html#io-interface-files">IO Interface Files. Implies IOAccounting=yes.