Re: [Qemu-devel] [PATCH v2 4/5] block: Perform copy-on-read in loop

2017-10-05 Thread Stefan Hajnoczi
On Tue, Oct 03, 2017 at 08:43:46PM -0500, Eric Blake wrote: > Improve our braindead copy-on-read implementation. Pre-patch, > we have multiple issues: > - we create a bounce buffer and perform a write for the entire > request, even if the active image already has 99% of the > clusters occupied, an

Re: [Qemu-devel] [PATCH v2 4/5] block: Perform copy-on-read in loop

2017-10-05 Thread Kevin Wolf
Am 04.10.2017 um 03:43 hat Eric Blake geschrieben: > Improve our braindead copy-on-read implementation. Pre-patch, > we have multiple issues: > - we create a bounce buffer and perform a write for the entire > request, even if the active image already has 99% of the > clusters occupied, and really

[Qemu-devel] [PATCH v2 4/5] block: Perform copy-on-read in loop

2017-10-03 Thread Eric Blake
Improve our braindead copy-on-read implementation. Pre-patch, we have multiple issues: - we create a bounce buffer and perform a write for the entire request, even if the active image already has 99% of the clusters occupied, and really only needs to copy-on-read the remaining 1% of the clusters -