Lines 1-14
Link Here
|
1 |
--- src/zfs_arc.c.orig 2016-01-22 09:51:17 UTC |
1 |
--- src/zfs_arc.c.orig 2016-07-26 05:57:19 UTC |
2 |
+++ src/zfs_arc.c |
2 |
+++ src/zfs_arc.c |
3 |
@@ -270,8 +270,11 @@ static int za_read (void) |
3 |
@@ -270,10 +270,6 @@ static int za_read (void) |
4 |
za_read_derive (ksp, "deleted", "cache_operation", "deleted"); |
4 |
za_read_derive (ksp, "deleted", "cache_operation", "deleted"); |
5 |
#if __FreeBSD__ |
5 |
#if __FreeBSD__ |
6 |
za_read_derive (ksp, "allocated","cache_operation", "allocated"); |
6 |
za_read_derive (ksp, "allocated","cache_operation", "allocated"); |
7 |
+#if defined(__FreeBSD_version) && (__FreeBSD_version < 1002501) |
7 |
-#if defined(__FreeBSD_version) && (__FreeBSD_version < 1002501) |
8 |
+ /* stolen removed from sysctl kstat.zfs.misc.arcstats on FreeBSD 10.2+ */ |
8 |
- /* stolen removed from sysctl kstat.zfs.misc.arcstats on FreeBSD 10.2+ */ |
9 |
za_read_derive (ksp, "stolen", "cache_operation", "stolen"); |
9 |
- za_read_derive (ksp, "stolen", "cache_operation", "stolen"); |
|
|
10 |
-#endif |
10 |
#endif |
11 |
#endif |
11 |
+#endif |
|
|
12 |
|
12 |
|
13 |
/* Issue indicators */ |
13 |
/* Issue indicators */ |
14 |
za_read_derive (ksp, "mutex_miss", "mutex_operations", "miss"); |
|
|