Code

Remove watching stolen, since the counter has been removed upstream.
authorBrad Davis <brd@FreeBSD.org>
Fri, 5 Aug 2016 21:05:16 +0000 (15:05 -0600)
committerBrad Davis <brd@FreeBSD.org>
Fri, 5 Aug 2016 21:05:16 +0000 (15:05 -0600)
src/zfs_arc.c

index 3f5c398fdc889f435b008a686bbaf1182df12f38..8261282a825e1fc5ea13dea2bfacf222a35b4037 100644 (file)
@@ -294,10 +294,6 @@ static int za_read (void)
        za_read_derive (ksp, "deleted",  "cache_operation", "deleted");
 #if defined(KERNEL_FREEBSD)
        za_read_derive (ksp, "allocated","cache_operation", "allocated");
-#if __FreeBSD_version < 1002501
-       /* stolen removed from sysctl kstat.zfs.misc.arcstats on FreeBSD 10.2+ */
-       za_read_derive (ksp, "stolen",   "cache_operation", "stolen");
-#endif
 #endif
 
        /* Issue indicators */