HomeFreeBSD

Fix for ARC sysctls ignored at runtime

Description

Fix for ARC sysctls ignored at runtime

This change leverage module_param_call() to run arc_tuning_update()
immediately after the ARC tunable has been updated as suggested in
cffa8372 code review.

A simple test case is added to the ZFS Test Suite to prevent future
regressions in functionality.

Reviewed-by: Matt Macy <mmacy@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #9487
Closes #9489

Details

Provenance
loli10K <loli10K@users.noreply.github.com>Authored on Oct 26 2019, 10:22 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Oct 26 2019, 10:22 PM
Parents
rG6963414d7049: Remove unneeded header from libzpool/kernel.c
Branches
Unknown
Tags
Unknown