summaryrefslogtreecommitdiffstats
path: root/sys/fs/ext2fs
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2013-01-22 18:36:31 +0000
committerpfg <pfg@FreeBSD.org>2013-01-22 18:36:31 +0000
commit7d48f835bef67d22f4acda3fcbd8925744d5d9a1 (patch)
tree06e780c1a45625f566fc1b7433a51a344f8e7c4b /sys/fs/ext2fs
parent87184dfcdf36cf13949745deb961d929fe890eaa (diff)
downloadFreeBSD-src-7d48f835bef67d22f4acda3fcbd8925744d5d9a1.zip
FreeBSD-src-7d48f835bef67d22f4acda3fcbd8925744d5d9a1.tar.gz
ext2fs: temporarily disable the reallocation code.
Testing with fsx has revealed problems and in order to hunt the bugs properly we need reduce the complexity. This seems to help but is not a complete solution. MFC after: 3 days
Diffstat (limited to 'sys/fs/ext2fs')
-rw-r--r--sys/fs/ext2fs/ext2_alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/ext2fs/ext2_alloc.c b/sys/fs/ext2fs/ext2_alloc.c
index a701087..2fec38d 100644
--- a/sys/fs/ext2fs/ext2_alloc.c
+++ b/sys/fs/ext2fs/ext2_alloc.c
@@ -151,11 +151,11 @@ nospace:
static SYSCTL_NODE(_vfs, OID_AUTO, ext2fs, CTLFLAG_RW, 0, "EXT2FS filesystem");
-static int doasyncfree = 1;
+static int doasyncfree = 0;
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, "");
int
OpenPOWER on IntegriCloud