[Qemu-devel] Re: [PATCH]hw/xen_disk: ioreq not finished on error

2011-03-28 Thread Stefano Stabellini
On Sun, 27 Mar 2011, Feiran Zheng wrote: Bug fix: routines 'ioreq_runio_qemu_sync' and 'ioreq_runio_qemu_aio' won't call 'ioreq_unmap' or 'ioreq_finish' on errors, leaving ioreq in the blkdev-inflight list and a leak. Signed-off-by: Feiran Zheng famc...@gmail.com --- hw/xen_disk.c | 22

[Qemu-devel] Re: [PATCH]hw/xen_disk: ioreq not finished on error

2011-03-28 Thread Feiran Zheng
On Mon, Mar 28, 2011 at 9:42 PM, Stefano Stabellini stefano.stabell...@eu.citrix.com wrote: On Sun, 27 Mar 2011, Feiran Zheng wrote: Bug fix: routines 'ioreq_runio_qemu_sync' and 'ioreq_runio_qemu_aio' won't call 'ioreq_unmap' or 'ioreq_finish' on errors, leaving ioreq in the blkdev-inflight

[Qemu-devel] Re: [PATCH]hw/xen_disk: ioreq not finished on error

2011-03-28 Thread Stefano Stabellini
On Mon, 28 Mar 2011, Feiran Zheng wrote: On Mon, Mar 28, 2011 at 9:42 PM, Stefano Stabellini stefano.stabell...@eu.citrix.com wrote: On Sun, 27 Mar 2011, Feiran Zheng wrote: Bug fix: routines 'ioreq_runio_qemu_sync' and 'ioreq_runio_qemu_aio' won't call 'ioreq_unmap' or 'ioreq_finish' on

[Qemu-devel] Re: [PATCH]hw/xen_disk: ioreq not finished on error

2011-03-28 Thread Feiran Zheng
Sorry for the confusing, I'll clean up it. On Tue, Mar 29, 2011 at 2:16 AM, Stefano Stabellini stefano.stabell...@eu.citrix.com wrote: On Mon, 28 Mar 2011, Feiran Zheng wrote: On Mon, Mar 28, 2011 at 9:42 PM, Stefano Stabellini stefano.stabell...@eu.citrix.com wrote: On Sun, 27 Mar 2011,