diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-11-22 13:39:55 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-12-03 15:26:49 +0100 |
commit | 260a82e524b7f86c12b8e39d4c3f208af95645f7 (patch) | |
tree | 866cf9e47120f5884e7df2585090201cbed20370 /include/exec | |
parent | fa6252b0565526ec2347e248172f91771e0d9f47 (diff) |
raw-posix: implement write_zeroes with MAY_UNMAP for files
Writing zeroes to a file can be done by punching a hole if
MAY_UNMAP is set.
Note that in this case ENOTSUP is not ignored, but makes
the block layer fall back to the generic implementation.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions