From 059db0254f5670a34f1a928155c0c7d1cd03b53a Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Wed, 23 Sep 2015 18:56:01 +0530 Subject: glusterd, dht: volume set for use-readdirp in dht Change-Id: Icab246b1d02808864d878d949fa56f9f889b538a BUG: 1265677 Signed-off-by: Pranith Kumar K Reviewed-on: http://review.gluster.org/12221 Tested-by: NetBSD Build System Tested-by: Gluster Build System Reviewed-by: Raghavendra G Reviewed-by: Raghavendra Bhat Reviewed-by: Kaushal M --- xlators/cluster/dht/src/dht-shared.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xlators/cluster/dht/src') 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; -- cgit