]> granicus.if.org Git - zfs/commit
Fix arc_adjust_meta_balanced()
authorTim Chase <tim@chase2k.com>
Mon, 19 Sep 2016 16:28:35 +0000 (11:28 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 19 Sep 2016 16:28:35 +0000 (09:28 -0700)
commit25e2ab16be74cb37934e6736a1dc10fd50a00c56
tree7f0b1ae07d7e91bdfafb829a3a6c396a8593b2ba
parenta34f7ab332a66c2857b212abb6082fcc0e762519
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
module/zfs/arc.c