aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/zfs_vfsops.c
diff options
context:
space:
mode:
authorEtienne Dechamps <[email protected]>2012-09-06 11:06:05 +0200
committerBrian Behlendorf <[email protected]>2012-09-06 11:59:59 -0700
commit4b2f65b253952c5103311cc8bb4b8cdc6836fd7e (patch)
tree42193431d468f29b25124c7836efce803ca583e4 /module/zfs/zfs_vfsops.c
parentebcfc8a53450fd71443668191507770e17c409bd (diff)
Increase the stack space in userspace.
In 1e33ac1e2677c898a0b5ef6207048c692cb51bf4, the maximum stack size for userspace tools was set to 8k to mimic the available kernel stack size. Unfortunately, due to differences in how the stack is used in userspace vs kernel space, spurious stack overflows could occur in userspace tools due to the limited stack size. This is especially true in ztest when debugging is enabled. This patch multiplies the userspace stack size by 4, which fixes the stack overflow issues. This comes at the price of not being able to catch stack size issues in userspace, but the previous solution proved unreliable anyway. Signed-off-by: Brian Behlendorf <[email protected]> Fixes #934.
Diffstat (limited to 'module/zfs/zfs_vfsops.c')
0 files changed, 0 insertions, 0 deletions