summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 08c46c9)
raw | patch | inline | side by side (parent: 08c46c9)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Thu, 24 Sep 2009 12:19:19 +0000 (14:19 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Thu, 24 Sep 2009 12:19:19 +0000 (14:19 +0200) |
src/netapp.c | patch | blob | history |
diff --git a/src/netapp.c b/src/netapp.c
index d04be5ca8aadc9b6bc2401ec75211f9a85cb3dcd..eeacfff56c1ebecc40273d9561e015389604bb1f 100644 (file)
--- a/src/netapp.c
+++ b/src/netapp.c
}
} /* }}} void process_volume_flag */
-static void build_perf_vol_config(host_config_t *host, const oconfig_item_t *ci) {
+static void build_perf_vol_config(host_config_t *host, const oconfig_item_t *ci) { /* {{{ */
int i, had_io = 0, had_ops = 0, had_latency = 0;
cfg_service_t *service;
cfg_volume_perf_t *perf_volume;
@@ -1203,9 +1203,9 @@ static void build_perf_vol_config(host_config_t *host, const oconfig_item_t *ci)
perf_volume->flags |= CFG_VOLUME_PERF_LATENCY;
set_global_perf_vol_flag(host, CFG_VOLUME_PERF_LATENCY, /* set = */ true);
}
-}
+} /* }}} void build_perf_vol_config */
-static void build_volume_config(host_config_t *host, oconfig_item_t *ci) {
+static void build_volume_config(host_config_t *host, oconfig_item_t *ci) { /* {{{ */
int i, had_df = 0;
cfg_service_t *service;
cfg_volume_usage_t *cfg_volume_data;
cfg_volume_data->flags |= VOLUME_DF;
set_global_vol_flag(host, VOLUME_DF, /* set = */ true);
}
-}
+} /* }}} void build_volume_config */
-static void build_perf_disk_config(host_config_t *temp, oconfig_item_t *ci) {
+static void build_perf_disk_config(host_config_t *temp, oconfig_item_t *ci) { /* {{{ */
int i;
cfg_service_t *service;
cfg_disk_t *cfg_disk;
config_bool_to_flag (item, &cfg_disk->flags, CFG_SYSTEM_CPU);
}
}
-}
+} /* }}} void build_perf_disk_config */
static void build_perf_wafl_config(host_config_t *host, oconfig_item_t *ci) { /* {{{ */
int i;
return (0);
} /* }}} int build_perf_sys_config */
-static host_config_t *build_host_config(const oconfig_item_t *ci, const host_config_t *default_host, const cfg_service_t *def_def_service) {
+static host_config_t *build_host_config(const oconfig_item_t *ci, const host_config_t *default_host, const cfg_service_t *def_def_service) { /* {{{ */
int i;
oconfig_item_t *item;
host_config_t *host, *hc, temp = *default_host;
@@ -1427,9 +1427,9 @@ static host_config_t *build_host_config(const oconfig_item_t *ci, const host_con
host->next = host_config;
host_config = host;
return host;
-}
+} /* }}} host_config_t *build_host_config */
-static int cna_config (oconfig_item_t *ci) {
+static int cna_config (oconfig_item_t *ci) { /* {{{ */
int i;
oconfig_item_t *item;
host_config_t default_host = HOST_INIT;
}
}
return 0;
-}
+} /* }}} int cna_config */
-static int cna_read(void) {
+static int cna_read(void) { /* {{{ */
na_elem_t *out;
host_config_t *host;
cfg_service_t *service;
}
}
return 0;
-}
+} /* }}} int cna_read */
void module_register(void) {
plugin_register_complex_config("netapp", cna_config);