diff options
author | pfg <pfg@FreeBSD.org> | 2014-01-31 04:05:25 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2014-01-31 04:05:25 +0000 |
commit | 30943ad24c4bf9f5bed94c3552cf1e558d0d900a (patch) | |
tree | 8cc09ab5023a348770513a320d1989e2bdb109f7 /sys/fs/ext2fs/ext2_alloc.c | |
parent | e570ba73dcb5f492230246218e9498252c952c4b (diff) | |
download | FreeBSD-src-30943ad24c4bf9f5bed94c3552cf1e558d0d900a.zip FreeBSD-src-30943ad24c4bf9f5bed94c3552cf1e558d0d900a.tar.gz |
MFC r261136:
ext2fs: Re-enable reallocblk.
The major corruption issues affecting this code have been fixed.
Tested by: Mike Ma
Diffstat (limited to 'sys/fs/ext2fs/ext2_alloc.c')
-rw-r--r-- | sys/fs/ext2fs/ext2_alloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/ext2fs/ext2_alloc.c b/sys/fs/ext2fs/ext2_alloc.c index b8ea159..50fcf04 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 |