Merge pull request #1656 from kev009/target_set_add_meta
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Wed, 6 Apr 2016 10:05:53 +0000 (12:05 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Wed, 6 Apr 2016 10:05:53 +0000 (12:05 +0200)
Added MetaDataSet to target_set

contrib/redhat/collectd.spec
src/disk.c

index 4d4e0aa..d680564 100644 (file)
 
 Summary:       statistics collection and monitoring daemon
 Name:          collectd
-Version:       5.5.0
+Version:       5.5.1
 Release:       1%{?dist}
 URL:           http://collectd.org
 Source:                http://collectd.org/files/%{name}-%{version}.tar.bz2
index 1dbdd9d..bafc82e 100644 (file)
@@ -293,6 +293,7 @@ static void disk_submit (const char *plugin_instance,
        plugin_dispatch_values (&vl);
 } /* void disk_submit */
 
+#if KERNEL_FREEBSD || KERNEL_LINUX
 static void submit_io_time (char const *plugin_instance, derive_t io_time, derive_t weighted_time)
 {
        value_t values[2];
@@ -313,6 +314,7 @@ static void submit_io_time (char const *plugin_instance, derive_t io_time, deriv
 
        plugin_dispatch_values (&vl);
 } /* void submit_io_time */
+#endif /* KERNEL_FREEBSD || KERNEL_LINUX */
 
 #if KERNEL_LINUX
 static void submit_in_progress (char const *disk_name, gauge_t in_progress)