diff options
| author | Pranith Kumar K <pranithk@gluster.com> | 2012-07-27 10:51:50 +0530 |
|---|---|---|
| committer | Vijay Bellur <vijay@gluster.com> | 2012-08-13 10:25:38 +0530 |
| commit | 8701b14a7ceb877486ee0761492bc043fd071e33 (patch) | |
| tree | b28dfd404694b765f7554817438acce226c37085 /libglusterfs/src/graph.c | |
| parent | 6c8594f6dd820048b1701158c097847d4423d87c (diff) | |
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.
BUG: 843704
Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
Change-Id: I892f99d6d0a3e0ae6c0a280f82e2203af0c346f6
Reviewed-on: http://review.gluster.com/3751
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'libglusterfs/src/graph.c')
0 files changed, 0 insertions, 0 deletions
