From 84952d98750165f211d632940fbbd95059553dc2 Mon Sep 17 00:00:00 2001 From: shishir gowda Date: Tue, 28 Sep 2010 06:21:44 +0000 Subject: Changing readdir calls to readdirp calls in DHT Changing readdir calls to readdirp calls to handle layout issues seen in dht. Also, changing posix readdir call to do stat after dir read for readdirp. Signed-off-by: shishir gowda Signed-off-by: Vijay Bellur BUG: 1690 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1690 --- xlators/cluster/dht/src/dht.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/cluster/dht') diff --git a/xlators/cluster/dht/src/dht.c b/xlators/cluster/dht/src/dht.c index bd0258eae21..c872674fb91 100644 --- a/xlators/cluster/dht/src/dht.c +++ b/xlators/cluster/dht/src/dht.c @@ -357,7 +357,7 @@ init (xlator_t *this) gf_string2boolean (temp_str, &conf->unhashed_sticky_bit); } - conf->use_readdirp = 0; + conf->use_readdirp = 1; if (dict_get_str (this->options, "use-readdirp", &temp_str) == 0) { -- cgit