From d364de7a89dc339aad1bc20d429dc670e61dc1ff Mon Sep 17 00:00:00 2001 From: Ryan Moeller Date: Sat, 25 Jul 2020 13:49:49 -0400 Subject: [PATCH] FreeBSD: Remove accidental ARC size limiter i386 has some additional memory reservation logic that limits the size of the reported available memory. This was accidentally being used on all arches due to a missing header. Include machine/vmparam.h in freebsd/zfs/arc_os.c to pull in the missing UMA_MD_SMALL_ALLOC definition. Reviewed-by: Brian Behlendorf Reviewed-by: Alexander Motin Signed-off-by: Ryan Moeller Closes #10616 --- module/os/freebsd/zfs/arc_os.c | 1 + 1 file changed, 1 insertion(+) diff --git a/module/os/freebsd/zfs/arc_os.c b/module/os/freebsd/zfs/arc_os.c index 7415be919..b3deff0f0 100644 --- a/module/os/freebsd/zfs/arc_os.c +++ b/module/os/freebsd/zfs/arc_os.c @@ -46,6 +46,7 @@ #include #include #include +#include extern struct vfsops zfs_vfsops;