]> git.proxmox.com Git - qemu.git/commit - block.c
block: request overlap detection
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Wed, 23 Nov 2011 11:47:56 +0000 (11:47 +0000)
committerKevin Wolf <kwolf@redhat.com>
Mon, 5 Dec 2011 13:51:38 +0000 (14:51 +0100)
commitd83947ac6d2a58fdaf128fbe1b22bc9639e79fe5
tree99040eddc127c7d1967f7e6e2709b31afa8c1a56
parentf4658285f99473367dbbc34ce6970ec4637c2388
block: request overlap detection

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 <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c