diff options
author | Krishnan Parthasarathi <kp@gluster.com> | 2011-06-07 05:50:57 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-06-08 11:18:21 -0700 |
commit | caf13ea0ff4c67cfb30f990a9e3c9ffe9d45d035 (patch) | |
tree | 65c76fac9754367f39e0212628464a38de1df6a9 /libglusterfs/src | |
parent | 53b24b46c6e265f0d30e46ad635d09dbddaade3b (diff) |
syncop: Increase stack size for deep call stack.
pump performs a depth-first traversal of directories using the
syncop stack and this necessitates a larger stack when handling
deeper directory trees.
Signed-off-by: Krishnan Parthasarathi <kp@gluster.com>
Signed-off-by: Anand Avati <avati@gluster.com>
BUG: 2489 (GlusterFS crashing with replace-brick)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2489
Diffstat (limited to 'libglusterfs/src')
-rw-r--r-- | libglusterfs/src/syncop.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/syncop.h b/libglusterfs/src/syncop.h index 939f44d6b0d..6954bfc68a9 100644 --- a/libglusterfs/src/syncop.h +++ b/libglusterfs/src/syncop.h @@ -144,7 +144,7 @@ struct syncargs { } while (0) -#define SYNCENV_DEFAULT_STACKSIZE (16 * 1024) +#define SYNCENV_DEFAULT_STACKSIZE (2 * 1024 * 1024) struct syncenv * syncenv_new (); void syncenv_destroy (struct syncenv *); |