On 2015-01-28 at 13:38, Denis V. Lunev wrote:
This efficiently writes zeroes on Linux if the kernel is capable enough.
FALLOC_FL_ZERO_RANGE correctly handles all cases, including and not
including file expansion.
Signed-off-by: Denis V. Lunev <d...@openvz.org>
CC: Max Reitz <mre...@redhat.com>
CC: Kevin Wolf <kw...@redhat.com>
CC: Stefan Hajnoczi <stefa...@redhat.com>
CC: Peter Lieven <p...@kamp.de>
CC: Fam Zheng <f...@redhat.com>
---
block/raw-posix.c | 15 +++++++++++++--
configure | 19 +++++++++++++++++++
2 files changed, 32 insertions(+), 2 deletions(-)
Reviewed-by: Max Reitz <mre...@redhat.com>