freebsd-dev/cddl/contrib
Andriy Gapon fd74a38251 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
2017-11-24 10:45:33 +00:00
..
opensolaris zdb: use a heap allocation instead of a huge array on stack 2017-11-24 10:45:33 +00:00