svn commit: r304754 - head/sys/boot/userboot/userboot
Toomas Soome
tsoome at FreeBSD.org
Wed Aug 24 16:40:31 UTC 2016
Author: tsoome
Date: Wed Aug 24 16:40:29 2016
New Revision: 304754
URL: https://svnweb.freebsd.org/changeset/base/304754
Log:
Bug 212038 - svn commit: r304321 broken bhyve zvol VM bhyveload hang 100% WCPU
As the support for large blocks was enabled in loader zfs code, the
heap in userboot was left not changed, resulting with failure of detecting
and accessing zfs pools for bhyve virtual machines.
This fix does set the heap to use same amount of memory as the zfsloader
is using. To make it possible to test and verify loader functions, bhyve
is providing very useful option, but it also means, we like to keep feature
parity with [zfs]loader as close as possible.
PR: 212038
Reported by: dfh0522 at gmail.com
Reviewed by: allanjude, grehan
Approved by: allanjude (mentor)
Differential Revision: https://reviews.freebsd.org/D7635
Modified:
head/sys/boot/userboot/userboot/main.c
Modified: head/sys/boot/userboot/userboot/main.c
==============================================================================
--- head/sys/boot/userboot/userboot/main.c Wed Aug 24 16:30:15 2016 (r304753)
+++ head/sys/boot/userboot/userboot/main.c Wed Aug 24 16:40:29 2016 (r304754)
@@ -46,7 +46,7 @@ static int userboot_zfs_found;
/* Minimum version required */
#define USERBOOT_VERSION USERBOOT_VERSION_3
-#define MALLOCSZ (10*1024*1024)
+#define MALLOCSZ (64*1024*1024)
struct loader_callbacks *callbacks;
void *callbacks_arg;
More information about the svn-src-head
mailing list