From 32e53d709f1d63e48ea13bd1eb53c2c30f719ee4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20LU=C3=87I?= Date: Tue, 14 Apr 2015 23:18:27 +0200 Subject: [PATCH] Make forcesync default to the same behavior as freebsd rather than as intended for cf cards. People with issues on CF can enable the tunable --- etc/inc/globals.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/inc/globals.inc b/etc/inc/globals.inc index 2d7efac574..b6d525e6a3 100644 --- a/etc/inc/globals.inc +++ b/etc/inc/globals.inc @@ -168,7 +168,8 @@ $sysctls = array("net.inet.ip.portrange.first" => "1024", "net.enc.in.ipsec_filter_mask" => "0x0002", "net.key.preferred_oldsa" => "0", "net.inet.carp.senderr_demotion_factor" => 0, /* Do not demote CARP for interface send errors */ - "net.pfsync.carp_demotion_factor" => 0 /* Do not demote CARP for pfsync errors */ + "net.pfsync.carp_demotion_factor" => 0, /* Do not demote CARP for pfsync errors */ + "vfs.forceync" => 1 ); /* Include override values for the above if needed. If the file doesn't exist, don't try to load it. */