Re: [Qemu-devel] [PATCH v2 5/8] block: wait for overlapping requests

2011-11-17 Thread Stefan Hajnoczi
On Thu, Nov 17, 2011 at 1:43 PM, Paolo Bonzini wrote: > On 11/17/2011 02:40 PM, Stefan Hajnoczi wrote: >> >> When copy-on-read is enabled it is necessary to wait for overlapping >> requests before issuing new requests.  This prevents races between the >> copy-on-read and a write request. > > What

Re: [Qemu-devel] [PATCH v2 5/8] block: wait for overlapping requests

2011-11-17 Thread Paolo Bonzini
On 11/17/2011 02:40 PM, Stefan Hajnoczi wrote: When copy-on-read is enabled it is necessary to wait for overlapping requests before issuing new requests. This prevents races between the copy-on-read and a write request. What about discards? Paolo