HomeFreeBSD

zdb: use a heap allocation instead of a huge array on stack

Description

zdb: use a heap allocation instead of a huge array on stack

SPA_MAXBLOCKSIZE is 16 MB and having such a large object on the stack is
not nice in general and it could cause some confusing failures in the
single-user mode where the default stack size of 8 MB is used.

I expect that the upstream would make the same change.

MFC after: 1 week

Details

Provenance
avgAuthored on
Parents
rS326149: Make sure all tasks are cancelled synchronously in ipoib to avoid
Branches
Unknown
Tags
Unknown