diff options
author | Varsha Rao <varao@redhat.com> | 2018-02-21 23:03:48 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2018-02-22 17:25:13 +0000 |
commit | cfbc524239b1d3bc417849e68379c81e83fd56d9 (patch) | |
tree | b1533cb9a6ceacb726e2ed38db1c7dc659bb946c /xlators/mgmt | |
parent | efbfd17dfc73c4e6055adeffc65be1697f094168 (diff) |
performance/io-threads: Add threads to priority based stagnant queues
> performance/io-threads: Add watchdog to cover up a possible thread leak
> Commit ID: 8b6804f75c
> https://review.gluster.org/#/c/18239/
> By Shreyas Siravara <sshreyas@fb.com>
This patch is required to forward port io-threads namespace patch.
Updates: #401
Change-Id: Id057c34a2abb9fc6dfb4afcd5c7bbbfe5693bbb8
Signed-off-by: Varsha Rao <varao@redhat.com>
Diffstat (limited to 'xlators/mgmt')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volume-set.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index 243b6076868..4e63991155e 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -1752,6 +1752,11 @@ struct volopt_map_entry glusterd_volopt_map[] = { .voltype = "performance/io-threads", .op_version = 1 }, + { .key = "performance.iot-watchdog-secs", + .voltype = "performance/io-threads", + .option = "watchdog-secs", + .op_version = GD_OP_VERSION_4_1_0 + }, /* Other perf xlators' options */ { .key = "performance.cache-size", |