diff options
author | Paolo Bonzini | 2013-11-22 13:39:55 +0100 |
---|---|---|
committer | Stefan Hajnoczi | 2013-12-03 15:26:49 +0100 |
commit | 260a82e524b7f86c12b8e39d4c3f208af95645f7 (patch) | |
tree | 866cf9e47120f5884e7df2585090201cbed20370 /trace-events | |
parent | block/iscsi: check WRITE SAME support differently depending on MAY_UNMAP (diff) | |
download | qemu-260a82e524b7f86c12b8e39d4c3f208af95645f7.tar.gz qemu-260a82e524b7f86c12b8e39d4c3f208af95645f7.tar.xz qemu-260a82e524b7f86c12b8e39d4c3f208af95645f7.zip |
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 'trace-events')
-rw-r--r-- | trace-events | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/trace-events b/trace-events index d318d6f0f9..e32d00cefb 100644 --- a/trace-events +++ b/trace-events @@ -128,6 +128,7 @@ thread_pool_cancel(void *req, void *opaque) "req %p opaque %p" # block/raw-win32.c # block/raw-posix.c +paio_submit_co(int64_t sector_num, int nb_sectors, int type) "sector_num %"PRId64" nb_sectors %d type %d" paio_submit(void *acb, void *opaque, int64_t sector_num, int nb_sectors, int type) "acb %p opaque %p sector_num %"PRId64" nb_sectors %d type %d" # ioport.c |