Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Mar 2012 20:01:26 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r232619 - in head: . sys/amd64/conf sys/arm/conf sys/i386/conf sys/ia64/conf sys/mips/conf sys/pc98/conf sys/powerpc/conf sys/sparc64/conf
Message-ID:  <201203062001.q26K1Q7R055245@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: attilio
Date: Tue Mar  6 20:01:25 2012
New Revision: 232619
URL: http://svn.freebsd.org/changeset/base/232619

Log:
  Disable the option VFS_ALLOW_NONMPSAFE by default on all the supported
  platforms.
  This will make every attempt to mount a non-mpsafe filesystem to the
  kernel forbidden, unless it is expressely compiled with
  VFS_ALLOW_NONMPSAFE option.
  
  This patch is part of the effort of killing non-MPSAFE filesystems
  from the tree.
  
  No MFC is expected for this patch.

Modified:
  head/UPDATING
  head/sys/amd64/conf/DEFAULTS
  head/sys/arm/conf/DEFAULTS
  head/sys/i386/conf/DEFAULTS
  head/sys/ia64/conf/DEFAULTS
  head/sys/mips/conf/DEFAULTS
  head/sys/pc98/conf/DEFAULTS
  head/sys/powerpc/conf/DEFAULTS
  head/sys/sparc64/conf/DEFAULTS

Modified: head/UPDATING
==============================================================================
--- head/UPDATING	Tue Mar  6 19:46:57 2012	(r232618)
+++ head/UPDATING	Tue Mar  6 20:01:25 2012	(r232619)
@@ -22,6 +22,10 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 10
 	machines to maximize performance.  (To disable malloc debugging, run
 	ln -s aj /etc/malloc.conf.)
 
+20120306:
+	Disable by default the option VFS_ALLOW_NONMPSAFE for all supported
+	platforms.
+
 20120229:
 	Now unix domain sockets behave "as expected" on	nullfs(5). Previously
 	nullfs(5) did not pass through all behaviours to the underlying layer,

Modified: head/sys/amd64/conf/DEFAULTS
==============================================================================
--- head/sys/amd64/conf/DEFAULTS	Tue Mar  6 19:46:57 2012	(r232618)
+++ head/sys/amd64/conf/DEFAULTS	Tue Mar  6 20:01:25 2012	(r232619)
@@ -22,6 +22,3 @@ options 	GEOM_PART_EBR_COMPAT
 options 	GEOM_PART_MBR
 
 options 	NEW_PCIB
-
-# Allow mounting non-MPSAFE filesystems
-options		VFS_ALLOW_NONMPSAFE

Modified: head/sys/arm/conf/DEFAULTS
==============================================================================
--- head/sys/arm/conf/DEFAULTS	Tue Mar  6 19:46:57 2012	(r232618)
+++ head/sys/arm/conf/DEFAULTS	Tue Mar  6 20:01:25 2012	(r232619)
@@ -9,5 +9,3 @@ device		mem
 
 options 	GEOM_PART_BSD
 options 	GEOM_PART_MBR
-
-options		VFS_ALLOW_NONMPSAFE

Modified: head/sys/i386/conf/DEFAULTS
==============================================================================
--- head/sys/i386/conf/DEFAULTS	Tue Mar  6 19:46:57 2012	(r232618)
+++ head/sys/i386/conf/DEFAULTS	Tue Mar  6 20:01:25 2012	(r232619)
@@ -30,6 +30,3 @@ options 	NATIVE
 device		atpic
 
 options 	NEW_PCIB
-
-# Allow mounting non-MPSAFE filesystems
-options		VFS_ALLOW_NONMPSAFE

Modified: head/sys/ia64/conf/DEFAULTS
==============================================================================
--- head/sys/ia64/conf/DEFAULTS	Tue Mar  6 19:46:57 2012	(r232618)
+++ head/sys/ia64/conf/DEFAULTS	Tue Mar  6 20:01:25 2012	(r232619)
@@ -20,6 +20,3 @@ options 	GEOM_PART_GPT
 options 	GEOM_PART_MBR
 
 options 	NEW_PCIB
-
-# Allow mounting non-MPSAFE filesystems
-options		VFS_ALLOW_NONMPSAFE

Modified: head/sys/mips/conf/DEFAULTS
==============================================================================
--- head/sys/mips/conf/DEFAULTS	Tue Mar  6 19:46:57 2012	(r232618)
+++ head/sys/mips/conf/DEFAULTS	Tue Mar  6 20:01:25 2012	(r232619)
@@ -9,5 +9,3 @@ device		uart_ns8250
 
 options 	GEOM_PART_BSD
 options 	GEOM_PART_MBR
-
-options		VFS_ALLOW_NONMPSAFE

Modified: head/sys/pc98/conf/DEFAULTS
==============================================================================
--- head/sys/pc98/conf/DEFAULTS	Tue Mar  6 19:46:57 2012	(r232618)
+++ head/sys/pc98/conf/DEFAULTS	Tue Mar  6 20:01:25 2012	(r232619)
@@ -29,6 +29,3 @@ options 	GEOM_PART_PC98
 device		atpic
 
 options 	NEW_PCIB
-
-# Allow mounting non-MPSAFE filesystems
-options		VFS_ALLOW_NONMPSAFE

Modified: head/sys/powerpc/conf/DEFAULTS
==============================================================================
--- head/sys/powerpc/conf/DEFAULTS	Tue Mar  6 19:46:57 2012	(r232618)
+++ head/sys/powerpc/conf/DEFAULTS	Tue Mar  6 20:01:25 2012	(r232619)
@@ -14,6 +14,3 @@ options 	GEOM_PART_APM
 options 	GEOM_PART_MBR
 
 options         NEW_PCIB
-
-# Allow mounting non-MPSAFE filesystems
-options		VFS_ALLOW_NONMPSAFE

Modified: head/sys/sparc64/conf/DEFAULTS
==============================================================================
--- head/sys/sparc64/conf/DEFAULTS	Tue Mar  6 19:46:57 2012	(r232618)
+++ head/sys/sparc64/conf/DEFAULTS	Tue Mar  6 20:01:25 2012	(r232619)
@@ -21,6 +21,3 @@ options 	GEOM_PART_VTOC8
 options 	SUNKBD_EMULATE_ATKBD
 
 options 	NEW_PCIB
-
-# Allow mounting non-MPSAFE filesystems
-options		VFS_ALLOW_NONMPSAFE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203062001.q26K1Q7R055245>