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, "");
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"