diff options
author | Jakob Unterwurzacher | 2015-12-06 15:05:52 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2015-12-06 15:05:52 +0100 |
commit | 56888d83dd50a10bad56eaa512ce0b6a2f2d41ed (patch) | |
tree | 51343937e7347dfa2d79813bbf9dee8f63168e0f /integration_tests/performance_test.go | |
parent | edc289fb7578036ecc7571cb0207ceac17af9eec (diff) |
fallocate the space needed for the file header beforehand
This makes sure writing to a file fails early if the underlying
filesystem does not support fallocate. It also prevents partial header
write due to ENOSPC.
Diffstat (limited to 'integration_tests/performance_test.go')
0 files changed, 0 insertions, 0 deletions