Ticket #5967 (closed enhancement: fixed)
use posix_fallocate() for preallocated hard disks when possible
Reported by: | bjacke | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 3.1.2 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | other |
Description
when creating a new hard disk it would be good if preallocated (fixes size) hard disks would be created via posix_fallocate when that call is availbale. On recent Linux systems this call will allocate the whole space very fast and efficiently when XFS or ext4 is being used as filesystem.
Change History
Note: See
TracTickets for help on using
tickets.
ping. creating preallocated images ist still a pain. Why don't you make use of the filesystem doing that work efficiently in less than a second? Would also be a trivial change to do.