diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2015-09-23 18:56:01 +0530 |
---|---|---|
committer | Kaushal M <kaushal@redhat.com> | 2015-10-01 00:09:02 -0700 |
commit | 059db0254f5670a34f1a928155c0c7d1cd03b53a (patch) | |
tree | a253ff74dee8244727bb03232a53098e56f8b8e2 /xlators/cluster/dht/src/dht-shared.c | |
parent | a0514409356c35cd90a0506ab9fafa7462b21bef (diff) |
glusterd, dht: volume set for use-readdirp in dht
Change-Id: Icab246b1d02808864d878d949fa56f9f889b538a
BUG: 1265677
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/12221
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Reviewed-by: Kaushal M <kaushal@redhat.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-shared.c')
-rw-r--r-- | xlators/cluster/dht/src/dht-shared.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/cluster/dht/src/dht-shared.c b/xlators/cluster/dht/src/dht-shared.c index 342c2015b1a..2436eba2a0c 100644 --- a/xlators/cluster/dht/src/dht-shared.c +++ b/xlators/cluster/dht/src/dht-shared.c @@ -152,6 +152,7 @@ dht_priv_dump (xlator_t *this) gf_proc_dump_write("disk_unit", "%c", conf->disk_unit); gf_proc_dump_write("refresh_interval", "%d", conf->refresh_interval); gf_proc_dump_write("unhashed_sticky_bit", "%d", conf->unhashed_sticky_bit); + gf_proc_dump_write("use-readdirp", "%d", conf->use_readdirp); if (conf->du_stats && conf->subvolume_status) { for (i = 0; i < conf->subvolume_cnt; i++) { @@ -486,6 +487,8 @@ dht_reconfigure (xlator_t *this, dict_t *options) GF_OPTION_RECONF ("weighted-rebalance", conf->do_weighting, options, bool, out); + GF_OPTION_RECONF ("use-readdirp", conf->use_readdirp, options, + bool, out); ret = 0; out: return ret; |