diff options
| author | Vladimir Sementsov-Ogievskiy | 2021-09-03 12:28:04 +0200 |
|---|---|---|
| committer | Eric Blake | 2021-09-29 20:46:32 +0200 |
| commit | 2aaa3f9b33afca9733700b94d764e45ac009b8e5 (patch) | |
| tree | b3ad4561eb0fb0553bb8668059b2fed226db4ba1 /include/block | |
| parent | block: use int64_t instead of int in driver write_zeroes handlers (diff) | |
| download | qemu-2aaa3f9b33afca9733700b94d764e45ac009b8e5.tar.gz qemu-2aaa3f9b33afca9733700b94d764e45ac009b8e5.tar.xz qemu-2aaa3f9b33afca9733700b94d764e45ac009b8e5.zip | |
block/io: allow 64bit write-zeroes requests
Now that all drivers are updated by previous commit, we can drop two
last limiters on write-zeroes path: INT_MAX in
bdrv_co_do_pwrite_zeroes() and bdrv_check_request32() in
bdrv_co_pwritev_part().
Now everything is prepared for implementing incredibly cool and fast
big-write-zeroes in NBD and qcow2. And any other driver which wants it
of course.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20210903102807.27127-9-vsementsov@virtuozzo.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'include/block')
0 files changed, 0 insertions, 0 deletions
