Commit 4aebd359 authored by Mike Hibler's avatar Mike Hibler
Browse files

For FreeBSD 10.x clients, set a magic loader var for stability reasons.

Clear vfs.unmapped_buf_allowed as recommended by the release errata.
parent 9623dd35
......@@ -1760,6 +1760,15 @@ sub vnodePreConfig($$$$$){
if ($vninfo->{'ishvm'}) {
# FreeBSD recommends this workaround for stability issues when
# running under Xen. I do not know if the problem is specific to
# HVM, I am just using $ishvm as it indicates a 10.x FreeBSD which
# is the only version which lists this problem in the errata.
mysystem("echo 'vfs.unmapped_buf_allowed=0' ".
">> $vnoderoot/boot/loader.conf");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment