Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Nov 2017 18:06:43 +0000 (UTC)
From:      Fedor Uporov <fsu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r325745 - stable/11/sys/fs/ext2fs
Message-ID:  <201711121806.vACI6hNL049963@repo.freebsd.org>

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



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