HomeFreeBSD

Adjust ARC prefetch tunables to match docs

Description

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 <behlendorf1@llnl.gov>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Tom Caputi <tcaputi@datto.com>
Closes #7126

Details

Provenance
Tom Caputi <tcaputi@datto.com>Authored on Feb 6 2018, 12:57 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Feb 6 2018, 12:57 AM
Parents
rG60b82074968e: Set persistent ztest failure mode
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG2b84817f6646: Adjust ARC prefetch tunables to match docs (authored by Tom Caputi <tcaputi@datto.com>).Feb 6 2018, 12:57 AM