Code

Merge branch 'collectd-4.10' into collectd-5.0
authorFlorian Forster <octo@collectd.org>
Sun, 23 Sep 2012 10:20:49 +0000 (12:20 +0200)
committerFlorian 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

1  2 
configure.in
src/collectd.c
src/common.c
src/exec.c
src/netlink.c
src/network.c
src/unixsock.c
src/utils_db_query.c
src/zfs_arc.c

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
Simple merge
diff --cc src/zfs_arc.c
index 8341be0c306317aa21dac615a1c16f3b66611962,79a234f415be17d727336c3de7f64b90b40a6cde..f886c86a60151da3d44ee327974295a03d8e6c8e
@@@ -77,17 -90,11 +77,18 @@@ static void za_submit_ratio (const char
  
  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)