]> git.proxmox.com Git - mirror_zfs.git/commit
Increase default user space stack size
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 13 Jan 2016 18:41:24 +0000 (10:41 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 13 Jan 2016 21:55:12 +0000 (13:55 -0800)
commit89666a8e1cfe8691a31fa8ca33c55362e959e2ed
tree9bad8e7c91d320e358cd958db7f797bd173d0a61
parente6cfd633be909956c8a6998f478ceb32558c210c
Increase default user space stack size

Under RHEL6/CentOS6 the default stack size must be increased to 32K
to prevent overflowing the stack when running ztest.  This isn't an
issue for other distributions due to either the version of pthreads
or perhaps the compiler.  Doubling the stack size resolves the
issue safely for all distribution and leaves us some headroom.

$ sudo -E ztest -V -T 300 -f /var/tmp/
5 vdevs, 7 datasets, 23 threads, 300 seconds...

loading space map for vdev 0 of 1, metaslab 0 of 30 ...
...
loading space map for vdev 0 of 1, metaslab 14 of 30 ...
child died with signal 11
Exited ztest with error 3

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4215
include/sys/zfs_context.h
man/man1/ztest.1
module/zfs/txg.c