zfs/module
Ned Bass 410d8c4e15 Reduce dsl_scan_visitbp stack usage by moving blkptr_t to heap
Github issue 22 reported a stack overrun when the zfs module was
loaded, possibly related to the presence of existing zpools created
under zfs-fuse.  The stack trace showed 9 levels of recursion between
dsl_scan_visitbp() and dsl_scan_recurse(). To reduce stack overhead in
that code path, this commit moves the 128 byte blkptr_t data strucutre
in dsl_scan_visitbp() to the heap.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2010-08-02 14:09:15 -07:00
..
avl Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
nvpair Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
unicode Add unicode library 2009-01-05 12:03:23 -08:00
zcommon Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
zfs Reduce dsl_scan_visitbp stack usage by moving blkptr_t to heap 2010-08-02 14:09:15 -07:00
.gitignore Add .gitignore files to exclude build products 2010-01-08 11:35:17 -08:00