diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2018-01-02 21:08:08 +0530 |
---|---|---|
committer | Pranith Kumar K <pkarampu@redhat.com> | 2018-01-03 10:04:15 +0530 |
commit | 2170e661d005948c3ae568cd8035513dc9187e40 (patch) | |
tree | 256ac5b5419ed69e3beb78ddb3d74e998bf65ca1 /xlators/performance/io-threads/src | |
parent | 0e0fb43d322ade2e1187ea7e4389bf65c66a6ad7 (diff) |
performance/io-threads: volume option fixes for GD2
Updates #302
Change-Id: I7145e46ed649f8e69118f164709f7131b7e580be
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Diffstat (limited to 'xlators/performance/io-threads/src')
-rw-r--r-- | xlators/performance/io-threads/src/io-threads.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/xlators/performance/io-threads/src/io-threads.c b/xlators/performance/io-threads/src/io-threads.c index 7fc153dddeb..f89c9d49f2d 100644 --- a/xlators/performance/io-threads/src/io-threads.c +++ b/xlators/performance/io-threads/src/io-threads.c @@ -1186,6 +1186,10 @@ struct volume_options options[] = { .min = IOT_MIN_THREADS, .max = IOT_MAX_THREADS, .default_value = "16", + .op_version = {1}, + .flags = OPT_FLAG_SETTABLE | OPT_FLAG_DOC, + .tags = {"io-threads"}, + /*.option = "thread-count"*/ .description = "Number of threads in IO threads translator which " "perform concurrent IO operations" @@ -1195,6 +1199,9 @@ struct volume_options options[] = { .min = IOT_MIN_THREADS, .max = IOT_MAX_THREADS, .default_value = "16", + .op_version = {1}, + .flags = OPT_FLAG_SETTABLE | OPT_FLAG_DOC, + .tags = {"io-threads"}, .description = "Max number of threads in IO threads translator which " "perform high priority IO operations at a given time" @@ -1204,6 +1211,9 @@ struct volume_options options[] = { .min = IOT_MIN_THREADS, .max = IOT_MAX_THREADS, .default_value = "16", + .op_version = {1}, + .flags = OPT_FLAG_SETTABLE | OPT_FLAG_DOC, + .tags = {"io-threads"}, .description = "Max number of threads in IO threads translator which " "perform normal priority IO operations at a given time" @@ -1213,6 +1223,9 @@ struct volume_options options[] = { .min = IOT_MIN_THREADS, .max = IOT_MAX_THREADS, .default_value = "16", + .op_version = {1}, + .flags = OPT_FLAG_SETTABLE | OPT_FLAG_DOC, + .tags = {"io-threads"}, .description = "Max number of threads in IO threads translator which " "perform low priority IO operations at a given time" @@ -1222,12 +1235,18 @@ struct volume_options options[] = { .min = IOT_MIN_THREADS, .max = IOT_MAX_THREADS, .default_value = "1", + .op_version = {1}, + .flags = OPT_FLAG_SETTABLE | OPT_FLAG_DOC, + .tags = {"io-threads"}, .description = "Max number of threads in IO threads translator which " "perform least priority IO operations at a given time" }, { .key = {"enable-least-priority"}, .type = GF_OPTION_TYPE_BOOL, .default_value = "on", + .op_version = {1}, + .flags = OPT_FLAG_SETTABLE | OPT_FLAG_DOC, + .tags = {"io-threads"}, .description = "Enable/Disable least priority" }, {.key = {"idle-time"}, |