Vladimir Sementsov-Ogievskiy 2275cc90a1 block/io: bdrv_co_do_copy_on_readv: lazy allocation
Allocate bounce_buffer only if it is really needed. Also, sub-optimize
allocation size (why not?).

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20190604161514.262241-7-vsementsov@virtuozzo.com
Message-Id: <20190604161514.262241-7-vsementsov@virtuozzo.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2019-08-27 14:58:42 +01:00
..
2019-08-16 16:43:46 +01:00
2019-08-16 13:31:52 +02:00
2019-08-19 17:13:26 +02:00
2019-08-19 17:13:26 +02:00
2019-08-16 15:53:37 +01:00
2019-08-16 13:31:52 +02:00
2018-02-09 05:05:11 +01:00
2019-05-28 20:30:55 +02:00
2019-08-19 17:13:26 +02:00
2019-08-15 13:22:13 -05:00
2019-08-19 17:13:26 +02:00
2019-08-19 17:13:26 +02:00