diff options
Diffstat (limited to 'man')
-rw-r--r-- | man/man5/zfs-module-parameters.5 | 22 | ||||
-rw-r--r-- | man/man8/zpoolprops.8 | 2 |
2 files changed, 23 insertions, 1 deletions
diff --git a/man/man5/zfs-module-parameters.5 b/man/man5/zfs-module-parameters.5 index 40666c8f3..7ef82d9a0 100644 --- a/man/man5/zfs-module-parameters.5 +++ b/man/man5/zfs-module-parameters.5 @@ -194,7 +194,8 @@ Default value: \fB2\fR. .ad .RS 12n Scales \fBl2arc_headroom\fR by this percentage when L2ARC contents are being -successfully compressed before writing. A value of 100 disables this feature. +successfully compressed before writing. A value of \fB100\fR disables this +feature. .sp Default value: \fB200\fR%. .RE @@ -202,6 +203,25 @@ Default value: \fB200\fR%. .sp .ne 2 .na +\fBl2arc_trim_ahead\fR (ulong) +.ad +.RS 12n +Trims ahead of the current write size (\fBl2arc_write_max\fR) on L2ARC devices +by this percentage of write size if we have filled the device. If set to +\fB100\fR we TRIM twice the space required to accommodate upcoming writes. A +minimum of 64MB will be trimmed. It also enables TRIM of the whole L2ARC device +upon creation or addition to an existing pool or if the header of the device is +invalid upon importing a pool or onlining a cache device. A value of \fB0\fR +disables TRIM on L2ARC altogether and is the default as it can put significant +stress on the underlying storage devices. This will vary depending of how well +the specific device handles these commands. +.sp +Default value: \fB0\fR%. +.RE + +.sp +.ne 2 +.na \fBl2arc_noprefetch\fR (int) .ad .RS 12n diff --git a/man/man8/zpoolprops.8 b/man/man8/zpoolprops.8 index f0522ef78..d85b6d436 100644 --- a/man/man8/zpoolprops.8 +++ b/man/man8/zpoolprops.8 @@ -238,6 +238,8 @@ this property is Automatic TRIM does not immediately reclaim blocks after a free. Instead, it will optimistically delay allowing smaller ranges to be aggregated in to a few larger ones. These can then be issued more efficiently to the storage. +TRIM on L2ARC devices is enabled by setting +.Sy l2arc_trim_ahead > 0 . .Pp Be aware that automatic trimming of recently freed data blocks can put significant stress on the underlying storage devices. This will vary |