Commits
Kir Kolyshkin authored 66818a46dbc
create image: if fallocate is not supported, fail Using ftruncate() does not lead to desired result (file with disk space really allocated). If we use ftruncate, since ploop is incabaple of working with sparse files yet, we can get something like this from the kernel: kernel: [62693.413845] Buffer I/O error on device ploop14p1 ploop_set_error=-22 We could use pwrite instead, but why bother? Reference: PSBM-13225 Reference: ploop@765408 Signed-off-by: Kir Kolyshkin <kir@openvz.org>