Eric Blake
24ce9a2026
block: Give nonzero result to blk_get_max_transfer_length()
...
Making all callers special-case 0 as unlimited is awkward,
and we DO have a hard maximum of BDRV_REQUEST_MAX_SECTORS given
our current block layer API limits.
In the case of scsi, this means that we now always advertise a
limit to the guest, even in cases where the underlying layers
previously use 0 for no inherent limit beyond the block layer.
Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2016-07-05 16:46:25 +02:00
..
2016-07-01 14:38:54 +02:00
2016-06-24 05:21:38 +03:00
2016-06-20 17:22:17 +01:00
2016-07-04 13:15:22 +01:00
2016-06-30 19:00:02 +01:00
2016-07-05 16:46:25 +02:00
2016-05-29 09:11:11 +02:00
2016-06-29 19:14:48 +01:00
2016-07-04 13:15:22 +01:00
2016-06-17 16:33:48 +10:00
2016-05-29 09:11:10 +02:00
2016-07-04 13:15:22 +01:00
2016-07-04 13:15:22 +01:00
2016-06-14 15:59:13 +01:00
2016-06-29 14:03:46 +02:00
2016-06-30 13:00:24 -06:00
2016-06-29 19:14:48 +01:00
2016-06-29 14:03:46 +02:00
2016-07-04 13:15:22 +01:00
2016-05-18 15:04:27 +03:00
2016-06-07 18:02:48 +03:00
2016-06-29 14:03:48 +02:00
2016-05-29 09:11:10 +02:00
2016-03-22 22:20:17 +01:00
2016-06-24 05:13:57 +03:00
2016-07-04 13:15:22 +01:00
2016-05-19 16:42:27 +02:00
2016-07-04 13:15:22 +01:00
2016-03-22 22:20:17 +01:00
2016-07-05 12:46:18 +01:00
2016-06-20 17:22:15 +01:00
2016-03-22 22:20:17 +01:00
2016-06-20 17:22:16 +01:00
2016-06-17 03:28:03 +03:00
2016-06-29 14:03:46 +02:00
2016-01-29 15:07:25 +00:00
2016-07-05 14:31:08 +10:00
2016-06-24 08:47:35 +03:00
2016-07-05 16:46:25 +02:00
2016-07-04 13:15:22 +01:00
2016-06-28 15:09:32 +01:00
2016-06-24 05:13:57 +03:00
2016-06-20 17:22:16 +01:00
2016-03-22 22:20:17 +01:00
2016-07-04 13:15:22 +01:00
2016-06-29 14:03:46 +02:00
2016-04-13 19:52:34 +03:00
2016-03-22 22:20:17 +01:00
2016-03-22 22:20:17 +01:00
2016-06-22 12:53:26 +02:00
2016-07-05 14:31:08 +10:00
2016-06-24 08:47:35 +03:00
2016-05-23 16:53:46 +02:00
2016-06-22 11:28:42 +01:00
2016-06-22 11:28:42 +01:00
2016-06-07 18:02:49 +03:00
2015-12-22 18:39:19 +02:00