]> Git Repo - qemu.git/commit
raw-posix: implement write_zeroes with MAY_UNMAP for files
authorPaolo Bonzini <[email protected]>
Fri, 22 Nov 2013 12:39:55 +0000 (13:39 +0100)
committerStefan Hajnoczi <[email protected]>
Tue, 3 Dec 2013 14:26:49 +0000 (15:26 +0100)
commit260a82e524b7f86c12b8e39d4c3f208af95645f7
tree866cf9e47120f5884e7df2585090201cbed20370
parentfa6252b0565526ec2347e248172f91771e0d9f47
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 <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
block/raw-posix.c
trace-events
This page took 0.024621 seconds and 4 git commands to generate.