]> xenbits.xen.org Git - xenclient/ioemu.git/commit
block-vbd: implement support for splitting requests
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 31 Mar 2009 16:19:49 +0000 (17:19 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 31 Mar 2009 16:19:49 +0000 (17:19 +0100)
commitdce851175469628f0ab337823b9fbe9dfa82546c
tree68433a20f7652ccf49e871645d67e9376db2566c
parent182efd7df38a23e14294811db56fc45d8654713e
block-vbd: implement support for splitting requests

the main issue with stubdoms at the moment is that the new dma api does
not support an upper limit for the number of sectors in a single dma
transfer.
This means that block-vbd can issue blkfront_aio transfers that exceed
the blktap limit BLKIF_MAX_SEGMENTS_PER_REQUEST.
The attached qemu patch makes block-vbd split any request bigger than
the limit above.

The small xen patch is also needed to change struct blkfront_aiocb.
 [ The corresponding changeset in xen-unstable is 19463:f2cf89a4e762 -iwj ]

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
block-vbd.c