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 <[email protected]>
CC: Max Reitz <[email protected]>
CC: Kevin Wolf <[email protected]>
CC: Stefan Hajnoczi <[email protected]>
CC: Peter Lieven <[email protected]>
CC: Fam Zheng <[email protected]>
---
  block/raw-posix.c | 15 +++++++++++++--
  configure         | 19 +++++++++++++++++++
  2 files changed, 32 insertions(+), 2 deletions(-)

Reviewed-by: Max Reitz <[email protected]>

Reply via email to