summaryrefslogtreecommitdiffstats
path: root/trace-events
diff options
context:
space:
mode:
authorWen Congyang <wency@cn.fujitsu.com>2015-09-08 11:28:32 +0800
committerJeff Cody <jcody@redhat.com>2015-09-25 08:37:07 -0400
commit9568b511c9f91c3d21ea3e83426d4ee7168c98bb (patch)
treedb4332c4539db54b69b314a47a7eb4c921ca7104 /trace-events
parent4da65c80921139f3e0ff63f5ea20c5d9c778364f (diff)
downloadhqemu-9568b511c9f91c3d21ea3e83426d4ee7168c98bb.zip
hqemu-9568b511c9f91c3d21ea3e83426d4ee7168c98bb.tar.gz
block: Introduce a new API bdrv_co_no_copy_on_readv()
In some cases, we need to disable copy-on-read, and just read the data. Signed-off-by: Wen Congyang <wency@cn.fujitsu.com> Message-id: 1441682913-14320-2-git-send-email-wency@cn.fujitsu.com Signed-off-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'trace-events')
-rw-r--r--trace-events1
1 files changed, 1 insertions, 0 deletions
diff --git a/trace-events b/trace-events
index 25c53e0..a70ea9c 100644
--- a/trace-events
+++ b/trace-events
@@ -69,6 +69,7 @@ bdrv_aio_write_zeroes(void *bs, int64_t sector_num, int nb_sectors, int flags, v
bdrv_lock_medium(void *bs, bool locked) "bs %p locked %d"
bdrv_co_readv(void *bs, int64_t sector_num, int nb_sector) "bs %p sector_num %"PRId64" nb_sectors %d"
bdrv_co_copy_on_readv(void *bs, int64_t sector_num, int nb_sector) "bs %p sector_num %"PRId64" nb_sectors %d"
+bdrv_co_no_copy_on_readv(void *bs, int64_t sector_num, int nb_sector) "bs %p sector_num %"PRId64" nb_sectors %d"
bdrv_co_writev(void *bs, int64_t sector_num, int nb_sector) "bs %p sector_num %"PRId64" nb_sectors %d"
bdrv_co_write_zeroes(void *bs, int64_t sector_num, int nb_sector, int flags) "bs %p sector_num %"PRId64" nb_sectors %d flags %#x"
bdrv_co_io_em(void *bs, int64_t sector_num, int nb_sectors, int is_write, void *acb) "bs %p sector_num %"PRId64" nb_sectors %d is_write %d acb %p"
OpenPOWER on IntegriCloud