summaryrefslogtreecommitdiffstats
path: root/xlators/performance/io-threads
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/performance/io-threads')
-rw-r--r--xlators/performance/io-threads/src/io-threads.c19
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"},