Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Nov 2017 02:31:26 +0000 (UTC)
From:      "Pedro F. Giffuni" <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r325750 - stable/10/sys/fs/ext2fs
Message-ID:  <201711130231.vAD2VQJM064982@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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, "");
 



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