410d8c4e15
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> |
||
---|---|---|
.. | ||
avl | ||
nvpair | ||
unicode | ||
zcommon | ||
zfs | ||
.gitignore |