summaryrefslogtreecommitdiff
path: root/man/systemd.exec.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-11-24 15:54:29 +0100
committerLennart Poettering <lennart@poettering.net>2021-11-24 16:14:51 +0100
commit8880b2bab8b43b716553d5b2ab92d63b0e66b474 (patch)
tree8cf1ef8029e367650f6d982e15dfd3a7998a8fea /man/systemd.exec.xml
parent543497fa34ccd754d9278124ca0c8e45fe1d3005 (diff)
downloadsystemd-8880b2bab8b43b716553d5b2ab92d63b0e66b474.tar.gz
man: don't mention IOSchedulingClass=none anymore in the docs
Let's not mention a redundant setting of "none". Let's instead only mention "best-effort", which is the same. Also mention the default settings properly. (Also, while we are at it, don#t document the numeric alias, that's totally redundant and harder to use, so no need to push people towards it.)
Diffstat (limited to 'man/systemd.exec.xml')
-rw-r--r--man/systemd.exec.xml12
1 files changed, 7 insertions, 5 deletions
diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml
index aea7116e29..4f37c22b75 100644
--- a/man/systemd.exec.xml
+++ b/man/systemd.exec.xml
@@ -1140,10 +1140,11 @@ CapabilityBoundingSet=~CAP_B CAP_C</programlisting>
<varlistentry>
<term><varname>IOSchedulingClass=</varname></term>
- <listitem><para>Sets the I/O scheduling class for executed processes. Takes an integer between 0 and 3 or one
- of the strings <option>none</option>, <option>realtime</option>, <option>best-effort</option> or
- <option>idle</option>. If the empty string is assigned to this option, all prior assignments to both
- <varname>IOSchedulingClass=</varname> and <varname>IOSchedulingPriority=</varname> have no effect. See
+ <listitem><para>Sets the I/O scheduling class for executed processes. Takes one of the strings
+ <option>realtime</option>, <option>best-effort</option> or <option>idle</option>. The kernel's
+ default scheduling class is <option>best-effort</option> at a priority of 4. If the empty string is
+ assigned to this option, all prior assignments to both <varname>IOSchedulingClass=</varname> and
+ <varname>IOSchedulingPriority=</varname> have no effect. See
<citerefentry><refentrytitle>ioprio_set</refentrytitle><manvolnum>2</manvolnum></citerefentry> for
details.</para></listitem>
</varlistentry>
@@ -1156,7 +1157,8 @@ CapabilityBoundingSet=~CAP_B CAP_C</programlisting>
bandwidth is made available to the unit's processes, larger values mean less bandwidth. The available
priorities depend on the selected I/O scheduling class (see above). If the empty string is assigned
to this option, all prior assignments to both <varname>IOSchedulingClass=</varname> and
- <varname>IOSchedulingPriority=</varname> have no effect. See
+ <varname>IOSchedulingPriority=</varname> have no effect. For the kernel's default scheduling class
+ (<option>best-effort</option>) this defaults to 4. See
<citerefentry><refentrytitle>ioprio_set</refentrytitle><manvolnum>2</manvolnum></citerefentry> for
details.</para></listitem>
</varlistentry>