diff options
author | Vladimir Sementsov-Ogievskiy | 2021-10-06 15:17:09 +0200 |
---|---|---|
committer | Eric Blake | 2021-10-15 22:47:18 +0200 |
commit | 34460feb63230daad12b0e0f31754f7ef5bc2be9 (patch) | |
tree | a2d58ff1d8bdc2e522aa094e1981304a38e28321 /scripts/performance | |
parent | block-backend: make blk_co_preadv() 64bit (diff) | |
download | qemu-34460feb63230daad12b0e0f31754f7ef5bc2be9.tar.gz qemu-34460feb63230daad12b0e0f31754f7ef5bc2be9.tar.xz qemu-34460feb63230daad12b0e0f31754f7ef5bc2be9.zip |
block-backend: convert blk_co_pwritev_part to int64_t bytes
We convert blk_do_pwritev_part() and some wrappers:
blk_co_pwritev_part(), blk_co_pwritev(), blk_co_pwrite_zeroes().
All functions are converted so that the parameter type becomes wider, so
all callers should be OK with it.
Look at blk_do_pwritev_part() body:
bytes is passed to:
- trace_blk_co_pwritev (we update it here)
- blk_check_byte_request, throttle_group_co_io_limits_intercept,
bdrv_co_pwritev_part - all already have int64_t argument.
Note that requests exceeding INT_MAX are still restricted by
blk_check_byte_request().
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20211006131718.214235-4-vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[eblake: grammar tweaks]
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'scripts/performance')
0 files changed, 0 insertions, 0 deletions