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

[Xen-devel] [PATCH] hang in qcow2raw


We hit a bug in which qcow2raw would hang the conversion just short of 100%, 
because the final write queue was never being submitted.  If a blktap drivers 
read synchronously, then "submit_events" and "complete" variables are checked 
before getting set, so the fact that reads have finished is not noticed, so the 
final write queue was never submitted.

Note that I have also removed the variables write_complete and read_complete.  
They were unused, and they were also not set correctly in the synchronous case.

Patch attached; please apply to xen-unstable.


Signed-off-by: Charles Coffing <ccoffing@xxxxxxxxxx>

Attachment: qcow2raw-hang.patch
Description: Text document

Xen-devel mailing list



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