]> git.proxmox.com Git - mirror_zfs.git/commit
Fix stack ztest
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 26 Aug 2010 18:13:05 +0000 (11:13 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 31 Aug 2010 15:38:50 +0000 (08:38 -0700)
commit40b84e7aec6392187722e61e5a4a853b530bf60f
tree350e46f73954d6562f015ed5e6cf73c1ae2b176d
parent6656bf56216f36805731298ee0f4de87ae6b6b3d
Fix stack ztest

While ztest does run in user space we run it with the same stack
restrictions it would have in kernel space.  This ensures that any
stack related issues which would be hit in the kernel can be caught
and debugged in user space instead.

This patch is a first pass to limit the stack usage of every ztest
function to 1024 bytes.  Subsequent updates can further reduce this.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
cmd/ztest/ztest.c