Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/ext2fs/ext2_alloc.c
Show All 12 Lines | |||||
* block immediately preceding the current range. If successful, the | * block immediately preceding the current range. If successful, the | ||||
* physical block numbers in the buffer pointers and in the inode are | * physical block numbers in the buffer pointers and in the inode are | ||||
* changed to reflect the new allocation. If unsuccessful, the allocation | * changed to reflect the new allocation. If unsuccessful, the allocation | ||||
* is left unchanged. The success in doing the reallocation is returned. | * is left unchanged. The success in doing the reallocation is returned. | ||||
* Note that the error return is not reflected back to the user. Rather | * Note that the error return is not reflected back to the user. Rather | ||||
* the previous block allocation will be used. | * the previous block allocation will be used. | ||||
*/ | */ | ||||
static SYSCTL_NODE(_vfs, OID_AUTO, ext2fs, CTLFLAG_RW, 0, "EXT2FS filesystem"); | static SYSCTL_NODE(_vfs, OID_AUTO, ext2fs, CTLFLAG_RW | CTLFLAG_MPSAFE, 0, | ||||
"EXT2FS filesystem"); | |||||
static int doasyncfree = 1; | 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 = 0; | ||||
Show All 12 Lines |