HomeFreeBSD

Set arc_c_min properly in userland builds

Description

Set arc_c_min properly in userland builds

Since it's set to arc_c_max / 2, it must be set after arc_c_max is set.
Also added protection against it falling below 2 * maxblocksize in
userland builds.

Signed-off-by: Tim Chase <tim@chase2k.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4268

Details

Provenance
Tim Chase <tim@chase2k.com>Authored on Jan 24 2016, 7:11 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jan 25 2016, 6:25 PM
Parents
rG1b8951b319b7: Prevent arc_c collapse
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG0a1f8cd99944: Set arc_c_min properly in userland builds (authored by Tim Chase <tim@chase2k.com>).Jan 25 2016, 6:25 PM