HomeFreeBSD

Fix arc_adjust_meta_balanced()

Description

Fix arc_adjust_meta_balanced()

The type of "adjustmnt" was erroneously changed to unsigned when the compressed
ARC code was ported in d3c2ae1c0806b183a315e3d43cc8018cfdca79b5.

As a result of it being unsigned, the balanced metadata eviction logic
would evict all of the non-metadata.

Reviewed-by: Chris Severance <github.severach@spamgourmet.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed by: David Quigley <david.quigley@intel.com>
Signed-off-by: Tim Chase <tim@onlight.com>
Closes #5128
Closes #5129

Details

Provenance
Tim Chase <tim@chase2k.com>Authored on Sep 19 2016, 4:28 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Sep 19 2016, 4:28 PM
Parents
rGa34f7ab332a6: Fix FALLOC_FL_PUNCH_HOLE use in randfree_file.c
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG25e2ab16be74: Fix arc_adjust_meta_balanced() (authored by Tim Chase <tim@chase2k.com>).Sep 19 2016, 4:28 PM