From 2b84817f66468da11d5c4373602a0044af46b572 Mon Sep 17 00:00:00 2001 From: Tom Caputi Date: Mon, 5 Feb 2018 19:57:53 -0500 Subject: Adjust ARC prefetch tunables to match docs Currently, the ARC exposes 2 tunables (zfs_arc_min_prefetch_ms and zfs_arc_min_prescient_prefetch_ms) which are documented to be specified in milliseconds. However, the code actually uses the values as though they were in seconds. This patch adjusts the code to match the names and documentation of the tunables. Reviewed-by: Brian Behlendorf Reviewed-by: Giuseppe Di Natale Reviewed by: George Melikov Signed-off-by: Tom Caputi Closes #7126 --- man/man5/zfs-module-parameters.5 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'man') diff --git a/man/man5/zfs-module-parameters.5 b/man/man5/zfs-module-parameters.5 index a5c83b422..77b162a2a 100644 --- a/man/man5/zfs-module-parameters.5 +++ b/man/man5/zfs-module-parameters.5 @@ -620,7 +620,7 @@ Default value: \fB0\fR. .ad .RS 12n Minimum time prefetched blocks are locked in the ARC, specified in ms. -A value of \fB0\fR will default to 1 second. +A value of \fB0\fR will default to 1000 ms. .sp Default value: \fB0\fR. .RE @@ -633,7 +633,7 @@ Default value: \fB0\fR. .RS 12n Minimum time "prescient prefetched" blocks are locked in the ARC, specified in ms. These blocks are meant to be prefetched fairly aggresively ahead of -the code that may use them. A value of \fB0\fR will default to 6 seconds. +the code that may use them. A value of \fB0\fR will default to 6000 ms. .sp Default value: \fB0\fR. .RE -- cgit v1.2.3