summaryrefslogtreecommitdiff
path: root/man/systemd.swap.xml
diff options
context:
space:
mode:
authorJan Synacek <jsynacek@redhat.com>2014-09-24 14:29:05 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-09-29 11:08:12 -0400
commit86b23b07c96b185126bfbf217227dad362a20c25 (patch)
tree897437332588d77a7f2e27d1a3dc486ecbdd562f /man/systemd.swap.xml
parent70f1b2ddc6b94d3fa5539eb8503887b465f7fcc7 (diff)
swap: introduce Discard property
Process possible "discard" values from /etc/fstab.
Diffstat (limited to 'man/systemd.swap.xml')
-rw-r--r--man/systemd.swap.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/man/systemd.swap.xml b/man/systemd.swap.xml
index 62a4d08b9c..481dc52454 100644
--- a/man/systemd.swap.xml
+++ b/man/systemd.swap.xml
@@ -171,6 +171,20 @@
</varlistentry>
<varlistentry>
+ <term><varname>Discard=</varname></term>
+
+ <listitem><para>Enable discards, if the swap
+ backing device supports the discard or trim
+ operation. Can be one of <literal>none</literal>,
+ <literal>once</literal>, <literal>pages</literal>
+ or <literal>all</literal>. Defaults to
+ <literal>none</literal>. (See
+ <citerefentry><refentrytitle>swapon</refentrytitle><manvolnum>8</manvolnum></citerefentry>
+ for more information.)
+ </para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><varname>TimeoutSec=</varname></term>
<listitem><para>Configures the time to
wait for the swapon command to