diff options
author | George Amanakis <[email protected]> | 2020-09-08 14:44:37 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2020-09-08 11:44:37 -0700 |
commit | feb3a7eef114b6d23bc1aaf5c550b2abeffaca94 (patch) | |
tree | b3e2e6c8df285b56f3ec018532a78a3aabbd2851 /man | |
parent | ebc4b52369ea10a2ad3df03b679acdd077e45a48 (diff) |
Introduce ZFS module parameter l2arc_mfuonly
In certain workloads it may be beneficial to reduce wear of L2ARC
devices by not caching MRU metadata and data into L2ARC. This commit
introduces a new tunable l2arc_mfuonly for this purpose.
Reviewed-by: Matthew Ahrens <[email protected]>
Reviewed-by: Richard Elling <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: George Amanakis <[email protected]>
Closes #10710
Diffstat (limited to 'man')
-rw-r--r-- | man/man5/zfs-module-parameters.5 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/man/man5/zfs-module-parameters.5 b/man/man5/zfs-module-parameters.5 index 32e28a13a..41f693a03 100644 --- a/man/man5/zfs-module-parameters.5 +++ b/man/man5/zfs-module-parameters.5 @@ -201,6 +201,22 @@ Default value: \fB200\fR%. .sp .ne 2 .na +\fBl2arc_mfuonly\fR (int) +.ad +.RS 12n +Controls whether only MFU metadata and data are cached from ARC into L2ARC. +This may be desired to avoid wasting space on L2ARC when reading/writing large +amounts of data that are not expected to be accessed more than once. The +default is \fB0\fR, meaning both MRU and MFU data and metadata are cached. +When turning off (\fB0\fR) this feature some MRU buffers will still be present +in ARC and eventually cached on L2ARC. +.sp +Use \fB0\fR for no (default) and \fB1\fR for yes. +.RE + +.sp +.ne 2 +.na \fBl2arc_meta_percent\fR (int) .ad .RS 12n |