]> granicus.if.org Git - zfs/commit
Remove "arc_meta_used" from arc_adjust calculation
authorPrakash Surya <surya1@llnl.gov>
Fri, 3 Jan 2014 18:11:14 +0000 (10:11 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Sat, 22 Feb 2014 00:10:49 +0000 (16:10 -0800)
commit77765b540b79bdc42d4f25f174004bbbd06b0a32
tree006b52e32b183d7bac182a62ddf4edcece497984
parent94520ca4626c7b01340473bccdaa3ed038a85a8f
Remove "arc_meta_used" from arc_adjust calculation

Using "arc_meta_used" to determine if the arc's mru list is over it's
target value of "arc_p" doesn't seem correct. The size of the mru list
and the value of "arc_meta_used", although related, are completely
independent. Buffers contained in "arc_meta_used" may not even be
contained in the arc's mru list. As such, this patch removes
"arc_meta_used" from the calculation in arc_adjust.

Signed-off-by: Prakash Surya <surya1@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #2110
module/zfs/arc.c