[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] Segments can span multiple clusters with tap:qcow


  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Mark McLoughlin <markmc@xxxxxxxxxx>
  • Date: Wed, 25 Apr 2007 21:41:19 +0100
  • Delivery-date: Wed, 25 Apr 2007 13:40:03 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hey,
        In blktap's qcow we need split up read/write requests if the requests
span multiple clusters. However, with our MAX_AIO_REQUESTS define we
assume that there is only ever a single aio request per tapdisk request
and under heavy i/o we can run out of room causing us to cancel
requests.

        The attached patch dynamically allocates (based on cluster_bits) the
various io request queues the driver maintains.

  Signed-off-by: Mark McLoughlin <markmc@xxxxxxxxxx>

Cheers,
Mark.

Attachment: block-qcow-multiple-aio-requests-per-segment.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.