author | Florian Forster <octo@collectd.org> | |
Sun, 23 Sep 2012 10:22:27 +0000 (12:22 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Sun, 23 Sep 2012 10:22:27 +0000 (12:22 +0200) |
1 | 2 | |||
---|---|---|---|---|
configure.in | patch | | diff1 | | diff2 | | blob | history |
src/zfs_arc.c | patch | | diff1 | | diff2 | | blob | history |
diff --cc configure.in
Simple merge
diff --cc src/zfs_arc.c
index f4352ff48f60588b72a1ae83d337ba817ff09031,f886c86a60151da3d44ee327974295a03d8e6c8e..046b7b02120953c65d66de9c27dd2ff5ac482e8c
--- 1/src/zfs_arc.c
--- 2/src/zfs_arc.c
+++ b/src/zfs_arc.c
static int za_read (void)
{
- gauge_t arc_size, l2_size;
- derive_t demand_data_hits,
- demand_metadata_hits,
- prefetch_data_hits,
- prefetch_metadata_hits,
- demand_data_misses,
- demand_metadata_misses,
- prefetch_data_misses,
- prefetch_metadata_misses;
gauge_t arc_hits, arc_misses, l2_hits, l2_misses;
value_t l2_io[2];
+ kstat_t *ksp = NULL;
get_kstat (&ksp, "zfs", 0, "arcstats");
if (ksp == NULL)