diff options
author | Pranith Kumar K <pranithk@gluster.com> | 2012-07-27 10:51:50 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-07-30 11:15:59 -0700 |
commit | 331c8d44d8e2781150c9bea56f36576a9dda0d6f (patch) | |
tree | 9e2f2ee547928f690a8e82efade664965cfd203d /libglusterfs/src/statedump.c | |
parent | 96d5c52b7e9e4c4a654213e092dde9c54282fe64 (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.
Change-Id: I8d72872b33e2ac7e1ad3afb27582682b0eb98a80
BUG: 843704
Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
Reviewed-on: http://review.gluster.com/3743
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'libglusterfs/src/statedump.c')
0 files changed, 0 insertions, 0 deletions