Stefano Stabellini
2011-Mar-09 14:42 UTC
[Xen-devel] Re: [PATCH]hw/xen_disk: aio_inflight not released in handling ioreq when nr_segments==0
On Wed, 9 Mar 2011, Feiran Zheng wrote:> In hw/xen_disk.c, async writing ioreq is leaked when > ioreq->req.nr_segments==0, because `aio_inflight` flag is not released > properly (skipped by misplaced "break"). > > Signed-off-by: Feiran Zheng <famcool@gmail.com>Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefan Hajnoczi
2011-Mar-09 15:01 UTC
[Xen-devel] Re: [Qemu-devel] Re: [PATCH]hw/xen_disk: aio_inflight not released in handling ioreq when nr_segments==0
On Wed, Mar 9, 2011 at 2:42 PM, Stefano Stabellini <stefano.stabellini@eu.citrix.com> wrote:> On Wed, 9 Mar 2011, Feiran Zheng wrote: >> In hw/xen_disk.c, async writing ioreq is leaked when >> ioreq->req.nr_segments==0, because `aio_inflight` flag is not released >> properly (skipped by misplaced "break"). >> >> Signed-off-by: Feiran Zheng <famcool@gmail.com> > > Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>Included Kevin so this can be taken up into the block subsystem branch. Stefan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel