]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
The Call For Testing had no reports of operational problems and
authorKirk McKusick <mckusick@FreeBSD.org>
Thu, 6 Sep 2018 23:28:35 +0000 (23:28 +0000)
committerKirk McKusick <mckusick@FreeBSD.org>
Thu, 6 Sep 2018 23:28:35 +0000 (23:28 +0000)
commit4b6a2c497e5b1ca07c0c20e9e5e6699eeb07e419
tree166d4d3ffaae640c458f902e49cec7701a779b95
parentecdc974571044c93f31cb08a2cb1fef00b083d7b
The Call For Testing had no reports of operational problems and
found that performance was no worse and usually better when running
with TRIM consolidation. Performance improvement was most noticable
when multiple large files are released in a short period of time.

Thus, TRIM consolidation is being enabled by default. Should
operational problems be found, it can be disabled using the command
`sysctl vfs.ffs.dotrimcons=0'. This variable can also be set as a
tunable if early disabling is necessary.

Approved by:  re (gjb)
Sponsored by: Netflix
sys/ufs/ffs/ffs_alloc.c