svn commit: r261136 - head/sys/fs/ext2fs

Pedro F. Giffuni pfg at FreeBSD.org
Fri Jan 24 20:26:00 UTC 2014


Author: pfg
Date: Fri Jan 24 20:26:00 2014
New Revision: 261136
URL: http://svnweb.freebsd.org/changeset/base/261136

Log:
  ext2fs: Re-enable reallocblk.
  
  The major corruption issues affecting this code have been fixed
  a while ago.
  
  MFC after:	1 week

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

Modified: head/sys/fs/ext2fs/ext2_alloc.c
==============================================================================
--- head/sys/fs/ext2fs/ext2_alloc.c	Fri Jan 24 19:08:42 2014	(r261135)
+++ head/sys/fs/ext2fs/ext2_alloc.c	Fri Jan 24 20:26:00 2014	(r261136)
@@ -147,11 +147,11 @@ nospace:
 
 static SYSCTL_NODE(_vfs, OID_AUTO, ext2fs, CTLFLAG_RW, 0, "EXT2FS filesystem");
 
-static int doasyncfree = 0;
+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 = 0;
+static int doreallocblks = 1;
 SYSCTL_INT(_vfs_ext2fs, OID_AUTO, doreallocblks, CTLFLAG_RW, &doreallocblks, 0, "");
 
 int


More information about the svn-src-all mailing list