summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-09-13 02:48:45 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-09-13 06:44:58 -0700
commita6a5b539bba3ce9ab82d6e137f2d961cde9546fe (patch)
treea8b3ba82f155e54e117fd93b7addc5ba0da6f8dc /xlators/cluster/afr
parenta3dd23e5fd0d4fc950068d54f085a99f17955842 (diff)
afr: reduce the size of readdir request during entry-self-heal
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1585 (Errors during self-heal) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1585
Diffstat (limited to 'xlators/cluster/afr')
-rw-r--r--xlators/cluster/afr/src/afr-self-heal-entry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heal-entry.c b/xlators/cluster/afr/src/afr-self-heal-entry.c
index dcb4f0cd1..446b3d868 100644
--- a/xlators/cluster/afr/src/afr-self-heal-entry.c
+++ b/xlators/cluster/afr/src/afr-self-heal-entry.c
@@ -2141,7 +2141,7 @@ afr_sh_entry_open (call_frame_t *frame, xlator_t *this)
source = local->self_heal.source;
sources = local->self_heal.sources;
- sh->block_size = 131072;
+ sh->block_size = 65536; //131072
sh->offset = 0;
call_count = sh->active_sinks;