Re: [Qemu-block] [PATCH 1/2] block: Fix dst total_sectors after copy offloading

2018-07-04 Thread Fam Zheng
On Wed, 07/04 09:44, Kevin Wolf wrote: > Am 04.07.2018 um 08:13 hat Fam Zheng geschrieben: > > This was noticed by the new image fleecing tests case 222. The issue is > > apparent and we should just do the same right things as in > > bdrv_aligned_pwritev. > > > > Reported-by: John Snow > > Signed

Re: [Qemu-block] [PATCH 1/2] block: Fix dst total_sectors after copy offloading

2018-07-04 Thread Kevin Wolf
Am 04.07.2018 um 08:13 hat Fam Zheng geschrieben: > This was noticed by the new image fleecing tests case 222. The issue is > apparent and we should just do the same right things as in > bdrv_aligned_pwritev. > > Reported-by: John Snow > Signed-off-by: Fam Zheng > --- a/block/io.c > +++ b/block

[Qemu-block] [PATCH 1/2] block: Fix dst total_sectors after copy offloading

2018-07-03 Thread Fam Zheng
This was noticed by the new image fleecing tests case 222. The issue is apparent and we should just do the same right things as in bdrv_aligned_pwritev. Reported-by: John Snow Signed-off-by: Fam Zheng --- block/io.c | 4 1 file changed, 4 insertions(+) diff --git a/block/io.c b/block/io.c