Set doreallocblks sysctl value to zero by default because of

possibility of filesystem corruption.

Approved by:    pfg (mentor)
MFC after:      2 weeks
This commit is contained in:
Fedor Uporov 2017-10-24 19:16:25 +00:00
parent f0a993bbdb
commit dc262e5bc2

View file

@ -173,7 +173,7 @@ 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 = 1;
static int doreallocblks = 0;
SYSCTL_INT(_vfs_ext2fs, OID_AUTO, doreallocblks, CTLFLAG_RW, &doreallocblks, 0, "");