Eric Blake
b257845932
nbd: Prepare for 64-bit request effect lengths
...
Widen the length field of NBDRequest to 64-bits, although we can
assert that all current uses are still under 32 bits: either because
of NBD_MAX_BUFFER_SIZE which is even smaller (and where size_t can
still be appropriate, even on 32-bit platforms), or because nothing
ever puts us into NBD_MODE_EXTENDED yet (and while future patches will
allow larger transactions, the lengths in play here are still capped
at 32-bit). There are no semantic changes, other than a typo fix in a
couple of error messages.
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-ID: <20230829175826.377251-23-eblake@redhat.com>
[eblake: fix assertion bug in nbd_co_send_simple_reply]
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
2023-09-25 08:35:06 -05:00
..
2023-09-08 13:08:52 +03:00
2023-06-20 10:01:30 +02:00
2022-09-30 18:42:34 +02:00
2021-10-05 18:56:41 +02:00
2023-05-10 14:16:54 +02:00
2023-02-24 15:09:39 +00:00
2023-04-25 13:17:28 +02:00
2023-08-03 11:28:43 -04:00
2023-09-20 17:46:01 +02:00
2023-02-23 19:49:33 +01:00
2023-09-20 17:46:01 +02:00
2023-09-21 09:31:28 -04:00
2023-09-08 13:08:52 +03:00
2022-12-15 16:07:43 +01:00
2022-10-26 14:56:42 -04:00
2023-06-28 09:46:24 +02:00
2023-06-28 09:46:27 +02:00
2023-05-19 19:12:12 +02:00
2023-09-20 17:46:01 +02:00
2022-03-04 18:18:25 +01:00
2023-04-11 16:38:56 +02:00
2022-05-11 16:50:01 +02:00
2023-05-10 14:16:53 +02:00
2023-05-19 19:12:12 +02:00
2023-09-20 17:46:01 +02:00
2020-11-15 17:04:40 +01:00
2023-05-30 17:37:26 +02:00
2023-02-23 19:49:32 +01:00
2019-06-12 13:20:20 +02:00
2023-03-30 15:03:36 +02:00
2023-06-28 09:46:28 +02:00
2023-04-24 13:53:44 -04:00
2023-09-21 09:05:10 -04:00
2023-04-25 13:17:28 +02:00
2023-04-11 16:38:56 +02:00
2023-06-02 12:27:19 -05:00
2023-09-20 17:46:01 +02:00
2023-06-01 07:34:03 -04:00
2023-09-20 17:46:01 +02:00
2021-07-09 18:20:27 +02:00
2023-09-08 17:03:09 +02:00
2023-09-08 13:08:52 +03:00
2023-09-08 17:03:09 +02:00
2023-09-20 17:46:01 +02:00
2023-09-25 08:35:06 -05:00
2023-06-02 12:27:19 -05:00
2023-02-01 16:52:32 +01:00
2023-07-17 09:17:41 -04:00
2023-01-20 07:24:28 +01:00
2023-09-21 08:49:17 +02:00
2023-09-21 08:47:34 +02:00
2023-06-01 07:34:03 -04:00
2023-09-20 17:46:00 +02:00
2023-01-19 10:18:28 +01:00
2023-05-30 17:21:23 +02:00
2023-09-08 17:03:09 +02:00
2023-06-28 09:46:32 +02:00
2023-01-20 07:24:28 +01:00
2023-06-28 09:46:34 +02:00
2023-09-08 13:08:52 +03:00
2023-04-25 13:17:28 +02:00
2023-04-25 13:17:28 +02:00
2023-09-20 17:46:01 +02:00
2023-06-28 09:46:32 +02:00
2023-09-20 17:46:01 +02:00
2023-06-28 09:46:20 +02:00
2017-07-17 11:34:11 +08:00
2022-03-07 13:16:49 +00:00
2023-06-28 09:46:34 +02:00
2023-06-28 09:46:34 +02:00
2023-02-23 19:49:17 +01:00
2023-09-20 17:46:01 +02:00
2023-06-28 09:46:34 +02:00
2023-02-23 19:49:35 +01:00
2023-09-20 17:46:01 +02:00
2022-03-07 09:33:30 +01:00
2023-09-08 17:03:09 +02:00
2023-09-20 17:46:01 +02:00
2023-05-30 17:37:26 +02:00
2023-09-20 17:46:01 +02:00
2023-08-29 10:49:24 +02:00
2023-08-29 10:49:24 +02:00
2023-09-25 08:35:06 -05:00
2020-08-21 06:18:24 -04:00
2023-05-19 19:12:12 +02:00
2019-06-12 13:20:20 +02:00
2023-06-28 09:46:30 +02:00
2023-09-08 13:08:52 +03:00
2023-09-08 13:08:52 +03:00
2023-09-20 17:46:01 +02:00
2023-09-08 17:03:09 +02:00
2023-04-25 13:17:28 +02:00
2023-05-30 17:37:26 +02:00
2023-01-20 07:24:28 +01:00