mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
Add l2arc_max_block_size tunable
Set a limit for the largest compressed block which can be written to an L2ARC device. By default this limit is set to 16M so there is no change in behavior. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Richard Elling <Richard.Elling@RichardElling.com> Signed-off-by: Tim Chase <tim@chase2k.com> Closes #4323
This commit is contained in:
@@ -79,6 +79,20 @@ Compressed l2arc_headroom multiplier
|
||||
Default value: \fB200\fR.
|
||||
.RE
|
||||
|
||||
.sp
|
||||
.ne 2
|
||||
.na
|
||||
\fBl2arc_max_block_size\fR (ulong)
|
||||
.ad
|
||||
.RS 12n
|
||||
The maximum block size which may be written to an L2ARC device, after
|
||||
compression and other factors. This setting is used to prevent a small
|
||||
number of large blocks from pushing a larger number of small blocks out
|
||||
of the cache.
|
||||
.sp
|
||||
Default value: \fB16,777,216\fR.
|
||||
.RE
|
||||
|
||||
.sp
|
||||
.ne 2
|
||||
.na
|
||||
|
||||
Reference in New Issue
Block a user