On Wed, Oct 06, 2021 at 03:17:08PM +0200, Vladimir Sementsov-Ogievskiy wrote: > For both updated functions type of bytes becomes wider, so all callers > should be OK with it. > > blk_co_preadv() only pass its arguments to blk_do_preadv(). > > blk_do_preadv() pass bytes to: > > - trace_blk_co_preadv, which is updated too > - blk_check_byte_request, throttle_group_co_io_limits_intercept, > bdrv_co_preadv, which are already int64_t. > > Note that requests exceeding INT_MAX are still restricted by > blk_check_byte_request(). > > Signed-off-by: Vladimir Sementsov-Ogievskiy <vsement...@virtuozzo.com> > --- > include/sysemu/block-backend.h | 2 +- > block/block-backend.c | 4 ++-- > block/trace-events | 2 +- > 3 files changed, 4 insertions(+), 4 deletions(-) >
Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org