From 331c8d44d8e2781150c9bea56f36576a9dda0d6f Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Fri, 27 Jul 2012 10:51:50 +0530 Subject: performance/io-threads: Provide option to turn off least-priority RCA: In cases when self-heal is in progress, self-heal fops are starved because of least-priority. This affects other fops with conflicting inode, entry locks with self-heal. Fix: This patch provides configuring enable/disable of least-priority. Additional changes: Moved RCHECKSUM fop to low instead of least because it will still affect the performance of other fops if RCHECKSUM is in LEAST priority. Tests: Tested that the enabling/disabling of fops is working fine. Tested that RCHECKSUM fop priority is assigned LOW when least-priority is disabled. Change-Id: I8d72872b33e2ac7e1ad3afb27582682b0eb98a80 BUG: 843704 Signed-off-by: Pranith Kumar K Reviewed-on: http://review.gluster.com/3743 Tested-by: Gluster Build System Reviewed-by: Anand Avati --- xlators/mgmt/glusterd/src/glusterd-volgen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators/mgmt') diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c index 5e80919d..099f5570 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volgen.c +++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c @@ -168,6 +168,7 @@ static struct volopt_map_entry glusterd_volopt_map[] = { {"performance.normal-prio-threads", "performance/io-threads", NULL, NULL, DOC, 0}, {"performance.low-prio-threads", "performance/io-threads", NULL, NULL, DOC, 0}, {"performance.least-prio-threads", "performance/io-threads", NULL, NULL, DOC, 0}, + {"performance.enable-least-priority", "performance/io-threads", NULL, 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}, -- cgit