Add a FAQ entry for ZFS TRIM support.

This commit is contained in:
Glen Barber 2013-01-17 00:21:13 +00:00
parent 6e9f55133f
commit 200f62241c
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=40660

View file

@ -4500,6 +4500,31 @@ C:\="DOS"</programlisting>
</note>
</answer>
</qandaentry>
<qandaentry>
<question id="zfs-ssd-trim">
<para>Does ZFS support TRIM for Solid State Drives?</para>
</question>
<answer>
<para>ZFS TRIM support was added to &os;&nbsp;10-CURRENT
with revision r<svnref>240868</svnref>. ZFS TRIM
support is not yet available on the -STABLE
branches.</para>
<para>ZFS TRIM is enabled by default, and can be turned
off by adding this line to
<filename>/etc/sysctl.conf</filename>:</para>
<programlisting>vfs.zfs.trim_disable=1</programlisting>
<note>
<para>ZFS TRIM may not work with all configurations,
such as a ZFS filesystem on a GELI-backed
device.</para>
</note>
</answer>
</qandaentry>
</qandaset>
</sect1>
</chapter>