Re: [Qemu-devel] [PATCH v2 6/8] block: request overlap detection

2011-11-22 Thread Kevin Wolf
Am 22.11.2011 16:10, schrieb Stefan Hajnoczi: > On Tue, Nov 22, 2011 at 3:06 PM, Kevin Wolf wrote: >> Am 17.11.2011 14:40, schrieb Stefan Hajnoczi: >>> Detect overlapping requests and remember to align to cluster boundaries >>> if the image format uses them. This assumes that allocating I/O is >>

Re: [Qemu-devel] [PATCH v2 6/8] block: request overlap detection

2011-11-22 Thread Stefan Hajnoczi
On Tue, Nov 22, 2011 at 3:06 PM, Kevin Wolf wrote: > Am 17.11.2011 14:40, schrieb Stefan Hajnoczi: >> Detect overlapping requests and remember to align to cluster boundaries >> if the image format uses them.  This assumes that allocating I/O is >> performed in cluster granularity - which is true f

Re: [Qemu-devel] [PATCH v2 6/8] block: request overlap detection

2011-11-22 Thread Kevin Wolf
Am 17.11.2011 14:40, schrieb Stefan Hajnoczi: > Detect overlapping requests and remember to align to cluster boundaries > if the image format uses them. This assumes that allocating I/O is > performed in cluster granularity - which is true for qcow2, qed, etc. > > Signed-off-by: Stefan Hajnoczi

[Qemu-devel] [PATCH v2 6/8] block: request overlap detection

2011-11-17 Thread Stefan Hajnoczi
Detect overlapping requests and remember to align to cluster boundaries if the image format uses them. This assumes that allocating I/O is performed in cluster granularity - which is true for qcow2, qed, etc. Signed-off-by: Stefan Hajnoczi --- block.c | 40