author | Florian Forster <octo@collectd.org> | |
Sun, 23 Sep 2012 10:20:49 +0000 (12:20 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Sun, 23 Sep 2012 10:20:49 +0000 (12:20 +0200) |
Conflicts:
src/utils_db_query.c
src/zfs_arc.c
src/utils_db_query.c
src/zfs_arc.c
1 | 2 | |||
---|---|---|---|---|
configure.in | patch | | diff1 | | diff2 | | blob | history |
src/collectd.c | patch | | diff1 | | diff2 | | blob | history |
src/common.c | patch | | diff1 | | diff2 | | blob | history |
src/exec.c | patch | | diff1 | | diff2 | | blob | history |
src/netlink.c | patch | | diff1 | | diff2 | | blob | history |
src/network.c | patch | | diff1 | | diff2 | | blob | history |
src/unixsock.c | patch | | diff1 | | diff2 | | blob | history |
src/utils_db_query.c | patch | | diff1 | | diff2 | | blob | history |
src/zfs_arc.c | patch | | diff1 | | diff2 | | blob | history |
diff --cc configure.in
Simple merge
diff --cc src/collectd.c
Simple merge
diff --cc src/common.c
Simple merge
diff --cc src/exec.c
Simple merge
diff --cc src/netlink.c
Simple merge
diff --cc src/network.c
Simple merge
diff --cc src/unixsock.c
Simple merge
diff --cc src/utils_db_query.c
Simple merge
diff --cc src/zfs_arc.c
index 8341be0c306317aa21dac615a1c16f3b66611962,79a234f415be17d727336c3de7f64b90b40a6cde..f886c86a60151da3d44ee327974295a03d8e6c8e
--- 1/src/zfs_arc.c
--- 2/src/zfs_arc.c
+++ b/src/zfs_arc.c
static int za_read (void)
{
- gauge_t arcsize, targetsize, minlimit, maxlimit, hits, misses, l2_size, l2_hits, l2_misses;
- counter_t demand_data_hits, demand_metadata_hits, prefetch_data_hits, prefetch_metadata_hits;
- counter_t demand_data_misses, demand_metadata_misses, prefetch_data_misses, prefetch_metadata_misses;
- counter_t l2_read_bytes, l2_write_bytes;
+ 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)