Author: pfg
Date: Mon Nov 13 02:31:25 2017
New Revision: 325750
URL: https://svnweb.freebsd.org/changeset/base/325750

Log:
  MFC r324962 (by fsu@):
  
  Set doreallocblks sysctl value to zero by default because of
  possibility of filesystem corruption.
  
  Fedor has found some weird behavior in his tests.

Modified:
  stable/10/sys/fs/ext2fs/ext2_alloc.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/fs/ext2fs/ext2_alloc.c
==============================================================================
--- stable/10/sys/fs/ext2fs/ext2_alloc.c        Mon Nov 13 00:32:44 2017        
(r325749)
+++ stable/10/sys/fs/ext2fs/ext2_alloc.c        Mon Nov 13 02:31:25 2017        
(r325750)
@@ -153,7 +153,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, "");
 
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to