Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 2017 19:16:25 +0000 (UTC)
From:      Fedor Uporov <fsu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r324962 - head/sys/fs/ext2fs
Message-ID:  <201710241916.v9OJGPEp014153@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fsu
Date: Tue Oct 24 19:16:25 2017
New Revision: 324962
URL: https://svnweb.freebsd.org/changeset/base/324962

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

Modified:
  head/sys/fs/ext2fs/ext2_alloc.c

Modified: head/sys/fs/ext2fs/ext2_alloc.c
==============================================================================
--- head/sys/fs/ext2fs/ext2_alloc.c	Tue Oct 24 19:14:33 2017	(r324961)
+++ head/sys/fs/ext2fs/ext2_alloc.c	Tue Oct 24 19:16:25 2017	(r324962)
@@ -173,7 +173,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?201710241916.v9OJGPEp014153>