Vladimir Sementsov-Ogievskiy
aa78b82516
block-backend: drop INT_MAX restriction from blk_check_byte_request()
...
blk_check_bytes_request is called from blk_co_do_preadv,
blk_co_do_pwritev_part, blk_co_do_pdiscard and blk_co_copy_range
before (maybe) calling throttle_group_co_io_limits_intercept() (which
has int64_t argument) and then calling corresponding bdrv_co_ function.
bdrv_co_ functions are OK with int64_t bytes as well.
So dropping the check for INT_MAX we just get same restrictions as in
bdrv_ layer: discard and write-zeroes goes through
bdrv_check_qiov_request() and are allowed to be 64bit. Other requests
go through bdrv_check_request32() and still restricted by INT_MAX
boundary.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20211006131718.214235-13-vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
2021-10-15 16:00:07 -05:00
..
2021-09-01 14:38:08 +02:00
2021-09-01 12:57:31 +02:00
2020-12-11 17:52:39 +01:00
2021-10-05 18:56:41 +02:00
2020-07-27 12:37:25 +02:00
2021-10-07 10:42:34 +02:00
2021-09-29 13:46:32 -05:00
2021-09-29 13:46:32 -05:00
2021-09-29 13:46:32 -05:00
2021-09-29 13:46:31 -05:00
2021-10-15 16:00:07 -05:00
2021-09-01 14:38:08 +02:00
2020-10-05 10:59:06 +01:00
2021-09-29 13:46:31 -05:00
2021-09-29 13:46:31 -05:00
2021-09-29 13:46:31 -05:00
2021-09-29 13:46:32 -05:00
2021-09-01 14:03:47 +02:00
2021-09-29 13:46:32 -05:00
2021-01-26 11:26:54 +01:00
2021-10-15 15:53:24 -05:00
2019-09-13 12:18:37 +02:00
2021-09-29 13:46:31 -05:00
2020-11-15 17:04:40 +01:00
2021-09-29 13:46:31 -05:00
2021-07-21 14:14:41 -05:00
2019-06-12 13:20:20 +02:00
2020-11-09 15:44:21 +01:00
2021-09-29 13:46:31 -05:00
2019-06-12 13:20:20 +02:00
2021-10-06 10:25:55 +02:00
2021-09-29 13:46:31 -05:00
2021-09-29 13:46:32 -05:00
2021-09-29 13:46:32 -05:00
2021-07-29 17:14:55 +01:00
2021-10-06 10:25:55 +02:00
2021-07-09 18:20:27 +02:00
2021-09-29 13:46:32 -05:00
2021-07-21 13:47:50 +01:00
2021-10-14 09:50:57 +02:00
2021-10-07 10:42:50 +02:00
2021-09-29 13:46:33 -05:00
2021-09-29 13:46:31 -05:00
2021-09-29 13:46:31 -05:00
2021-09-29 13:46:32 -05:00
2021-03-08 14:56:55 +01:00
2021-03-08 14:56:55 +01:00
2021-03-08 14:56:55 +01:00
2021-09-29 13:46:32 -05:00
2021-06-25 14:24:24 +03:00
2020-03-06 17:15:38 +01:00
2021-06-14 13:28:50 +01:00
2021-03-11 13:57:08 +00:00
2019-10-26 15:38:06 +02:00
2021-10-15 15:39:38 -05:00
2021-09-15 18:42:38 +02:00
2021-06-02 14:23:20 +02:00
2020-05-13 14:20:31 +02:00
2021-09-29 13:46:32 -05:00
2021-09-15 18:42:38 +02:00
2021-09-29 13:46:31 -05:00
2019-04-30 15:29:00 +02:00
2017-07-17 11:34:11 +08:00
2017-07-17 11:34:11 +08:00
2019-04-30 15:29:00 +02:00
2021-09-29 13:46:32 -05:00
2020-07-06 10:34:14 +02:00
2021-09-29 13:46:32 -05:00
2021-09-29 13:46:32 -05:00
2021-09-29 13:46:32 -05:00
2021-10-07 10:42:09 +02:00
2021-06-24 09:49:04 +02:00
2021-07-09 12:26:05 +02:00
2021-03-19 10:15:06 +01:00
2021-02-03 08:14:00 -06:00
2021-09-29 13:46:32 -05:00
2021-10-15 15:47:18 -05:00
2020-08-21 06:18:24 -04:00
2021-09-29 13:46:31 -05:00
2019-06-12 13:20:20 +02:00
2021-06-02 14:23:20 +02:00
2020-09-15 11:05:13 +02:00
2019-04-30 15:29:00 +02:00
2021-09-29 13:46:32 -05:00
2021-09-29 13:46:31 -05:00
2021-09-29 13:46:31 -05:00
2019-06-12 13:18:33 +02:00
2021-05-14 16:14:10 +02:00