Files
xemu/block
Eric Blake 82524274ea block: Fix harmless off-by-one in bdrv_aligned_preadv()
If the amount of data to read ends exactly on the total size
of the bs, then we were wasting time creating a local qiov
to read the data in preparation for what would normally be
appending zeroes beyond the end, even though this corner case
has nothing further to do.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2016-07-05 16:46:24 +02:00
..
2016-06-28 23:08:13 -04:00
…
2016-06-07 18:19:24 +03:00
2016-06-16 15:19:55 +02:00
2016-06-28 23:08:25 -04:00
…
2016-06-16 18:39:03 +02:00
2016-06-16 15:19:55 +02:00
2016-06-07 18:19:24 +03:00
2016-06-08 10:21:08 +02:00
…
…
2016-05-25 19:04:21 +02:00
2016-06-07 18:19:24 +03:00
…