svn commit: r325750 - stable/10/sys/fs/ext2fs
Pedro F. Giffuni
pfg at FreeBSD.org
Mon Nov 13 02:31:27 UTC 2017
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, "");
More information about the svn-src-all
mailing list