From fd15841111e7b572149c486cb31024f37a52d2aa Mon Sep 17 00:00:00 2001 From: pfg Date: Fri, 31 Jan 2014 04:06:00 +0000 Subject: [PATCH] MFC r261136: ext2fs: Re-enable reallocblk. The major corruption issues affecting this code have been fixed. Tested by: Mike Ma git-svn-id: svn://svn.freebsd.org/base/stable/9@261314 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- sys/fs/ext2fs/ext2_alloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/fs/ext2fs/ext2_alloc.c b/sys/fs/ext2fs/ext2_alloc.c index fa0a73e12..2b0332ee6 100644 --- a/sys/fs/ext2fs/ext2_alloc.c +++ b/sys/fs/ext2fs/ext2_alloc.c @@ -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 -- 2.45.0