Implement native versions of AllocateFileRange() for:
- Linux: posix_fallocate()
- Mac OSX: fcntl(…, F_PREALLOCATE, …)
- Windows: SetEndOfFile()
This should prevent the double-writing fallback that is used currently.
Implement native versions of AllocateFileRange() for:
This should prevent the double-writing fallback that is used currently.
This is just an optimization, yes?
I think it can wait for 0.8.1.
Nit: use #elif
ACK