diff options
Diffstat (limited to 'glusterfsd/src/glusterfsd.c')
-rw-r--r-- | glusterfsd/src/glusterfsd.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c index 5022cfc22da..a0fec8f49a1 100644 --- a/glusterfsd/src/glusterfsd.c +++ b/glusterfsd/src/glusterfsd.c @@ -129,6 +129,10 @@ static struct argp_option gf_options[] = { "buffer size, [default: 5]"}, {"log-flush-timeout", ARGP_LOG_FLUSH_TIMEOUT, "LOG-FLUSH-TIMEOUT", 0, "Set log flush timeout, [default: 2 minutes]"}, + {"stats-instance-name", ARGP_STATS_INSTANCE_NAME, + "STATS-INSTANCE-NAME", 0, + "Specify instance name for io-stats translator"}, + {0, 0, 0, 0, "Advanced Options:"}, {"volfile-server-port", ARGP_VOLFILE_SERVER_PORT_KEY, "PORT", 0, @@ -1246,6 +1250,10 @@ no_oom_api: break; + case ARGP_STATS_INSTANCE_NAME: + cmd_args->stats_instance_name = gf_strdup (arg); + break; + case ARGP_LOG_FLUSH_TIMEOUT: if (gf_string2uint32 (arg, &cmd_args->log_flush_timeout)) { argp_failure (state, -1, 0, |