ext2fs: Re-enable reallocblk.
The major corruption issues affecting this code have been fixed a while ago. MFC after: 1 week
This commit is contained in:
@@ -147,11 +147,11 @@ ext2_alloc(struct inode *ip, daddr_t lbn, e4fs_daddr_t bpref, int size,
|
|||||||
|
|
||||||
static SYSCTL_NODE(_vfs, OID_AUTO, ext2fs, CTLFLAG_RW, 0, "EXT2FS filesystem");
|
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,
|
SYSCTL_INT(_vfs_ext2fs, OID_AUTO, doasyncfree, CTLFLAG_RW, &doasyncfree, 0,
|
||||||
"Use asychronous writes to update block pointers when freeing blocks");
|
"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, "");
|
SYSCTL_INT(_vfs_ext2fs, OID_AUTO, doreallocblks, CTLFLAG_RW, &doreallocblks, 0, "");
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|||||||
Reference in New Issue
Block a user