summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPranith Kumar K <pranithk@gluster.com>2012-04-18 16:17:51 +0530
committerVijay Bellur <vijay@gluster.com>2012-04-20 09:15:50 -0700
commit3a26a7324128aed8181959b995d09ffc19ec2265 (patch)
treef8f2616c3927ae33b0dd640fdd1a6ef442161887
parent2d836326ce8962a734ac099560256fe00e3b2c9c (diff)
mgmt/glusterd: Make priority threads configurable
Change-Id: I7aa4c80fac3269052adb1b5516e9dd774d5f9e0a BUG: 812515 Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Reviewed-on: http://review.gluster.com/3187 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volgen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c
index c91a38a4637..dea139ebc2b 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volgen.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c
@@ -154,6 +154,10 @@ static struct volopt_map_entry glusterd_volopt_map[] = {
{"performance.flush-behind", "performance/write-behind", "flush-behind", NULL, DOC, 0},
{"performance.io-thread-count", "performance/io-threads", "thread-count", DOC, 0},
+ {"performance.high-prio-threads", "performance/io-threads", NULL, DOC, 0},
+ {"performance.normal-prio-threads", "performance/io-threads", NULL, DOC, 0},
+ {"performance.low-prio-threads", "performance/io-threads", NULL, DOC, 0},
+ {"performance.least-prio-threads", "performance/io-threads", NULL, DOC, 0},
{"performance.disk-usage-limit", "performance/quota", NULL, NULL, NO_DOC, 0},
{"performance.min-free-disk-limit", "performance/quota", NULL, NULL, NO_DOC, 0},
{"performance.write-behind-window-size", "performance/write-behind", "cache-size", NULL, DOC},