]> granicus.if.org Git - zfs/commit
Linux 4.8+ compatibility fix for vm stats
authordbavatar <dbavatar@gmail.com>
Thu, 24 Aug 2017 17:48:23 +0000 (13:48 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 24 Aug 2017 17:48:23 +0000 (10:48 -0700)
commit2209e40981e887c773914ec0f3b73cedf45ddb7d
tree3184936f39ef8d3081ee24a1d06a594c49f916ed
parent076e9b946ef7a706ce2926c29912c467cdeddab6
Linux 4.8+ compatibility fix for vm stats

vm_node_stat must be used instead of vm_zone_stat. Unfortunately the
old code still compiles potentially leading to silent failure of
arc_evictable_memory()

AKAMAI: CR 3816601: Regression in zfs dropcache test

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Chunwei Chen <tuxoko@gmail.com>
Signed-off-by: Debabrata Banerjee <dbanerje@akamai.com>
Closes #6528
config/kernel-vm_node_stat.m4 [new file with mode: 0644]
config/kernel.m4
module/zfs/arc.c