svn commit: r325745 - stable/11/sys/fs/ext2fs

Fedor Uporov fsu at FreeBSD.org
Sun Nov 12 18:06:45 UTC 2017


Author: fsu
Date: Sun Nov 12 18:06:43 2017
New Revision: 325745
URL: https://svnweb.freebsd.org/changeset/base/325745

Log:
  MFC r324962:
  Set doreallocblks sysctl value to zero by default because of
  possibility of filesystem corruption.
  
  Approved by:    pfg (mentor)

Modified:
  stable/11/sys/fs/ext2fs/ext2_alloc.c

Modified: stable/11/sys/fs/ext2fs/ext2_alloc.c
==============================================================================
--- stable/11/sys/fs/ext2fs/ext2_alloc.c	Sun Nov 12 17:15:54 2017	(r325744)
+++ stable/11/sys/fs/ext2fs/ext2_alloc.c	Sun Nov 12 18:06:43 2017	(r325745)
@@ -172,7 +172,7 @@ static int doasyncfree = 1;
 SYSCTL_INT(_vfs_ext2fs, OID_AUTO, doasyncfree, CTLFLAG_RW, &doasyncfree, 0,
     "Use asychronous writes to update block pointers when freeing blocks");
 
-static int doreallocblks = 1;
+static int doreallocblks = 0;
 
 SYSCTL_INT(_vfs_ext2fs, OID_AUTO, doreallocblks, CTLFLAG_RW, &doreallocblks, 0, "");
 


More information about the svn-src-stable mailing list