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

Re: [Xen-devel] [RFC Patch v3 04/18] blktap2: dynamic allocate aio_requests to avoid -EBUSY error



On Fri, 2014-09-05 at 17:10 +0800, Wen Congyang wrote:
> From: Lai Jiangshan <laijs@xxxxxxxxxxxxxx>
> 
> In normal case, there are at most TAPDISK_DATA_REQUESTS request
> at the same time. But in remus mode, the write requests are
> forwarded from the master side, and cached in block-remus. All
> cached requests will be forwarded to aio driver when syncing
> primary vm and backup vm. In this case, The number of requests
> may be more than TAPDISK_DATA_REQUESTS. So aio driver can't hanlde
> these requests at the same time, it will cause tapdisk2 exit.
> 
> We don't know how many requests will be handled, so dynamic allocate
> aio_requests to avoid this error.
> 
> Signed-off-by: Lai Jiangshan <laijs@xxxxxxxxxxxxxx>
> Signed-off-by: Jiang Yunhong <yunhong.jiang@xxxxxxxxx>
> Signed-off-by: Wen Congyang <wency@xxxxxxxxxxxxxx>
> Cc: Shriram Rajagopalan <rshriram@xxxxxxxxx>

blktap2 is essentially unmaintained these days. Since I think the remus
folks are the mains ones left who care about it (and these patches seem
to be Remus/COLO related) I think I'd be happy to apply the 4 blktap2
patches from this series with Shriram or Yang's Ack.

Ian.



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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