WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: [Qemu-devel] Re: [PATCH]hw/xen_disk: aio_inflight not re

To: Kevin Wolf <kwolf@xxxxxxxxxx>
Subject: [Xen-devel] Re: [Qemu-devel] Re: [PATCH]hw/xen_disk: aio_inflight not released in handling ioreq when nr_segments==0
From: Stefan Hajnoczi <stefanha@xxxxxxxxx>
Date: Wed, 9 Mar 2011 15:01:51 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>, "qemu-devel@xxxxxxxxxx" <qemu-devel@xxxxxxxxxx>, Feiran Zheng <famcool@xxxxxxxxx>, Gerd Hoffmann <kraxel@xxxxxxxxxx>, Anthony Perard <anthony.perard@xxxxxxxxxx>
Delivery-date: Fri, 11 Mar 2011 09:45:23 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=7eX25N53tHqDHyq0X+x2KULZ3EbVJnvKrmb9ejUdWhI=; b=X2sVsFaq609SYyGxFYkptDR2wGUmCilCdV6DgOZajhNiZmWdbdVOByfMGu2E1Alig9 nX+Bdkr0dAfg5BJXX+Og6z7k3cHMda0uHoMXBN22ZW2P1ch78gxcFMdaD7Z7NKVUWJP/ bWUsXFRu+0RT/bZNnHn6iN86uK4AB9T5FU3cI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=hVrk1EyOColxLpG7MH3gbrucGtpuiQz9pg48ZaK0PyJaEZ6xoqid+owg6A3AruZvlh eJPvElHWU8LISpGxneyuYI0c/QNMvDLXCUMHa45tO0+/98SR8vIbLLsCbntN3htsQ4jv iLXHdQm/F/ycACuOd2kVwCayZPAliytu9mKJ8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <alpine.DEB.2.00.1103091441540.2968@kaball-desktop>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTi=AQm8-387iru=Fg++R+Fr0bGzJP0S3Oa28pWNt@xxxxxxxxxxxxxx> <alpine.DEB.2.00.1103091441540.2968@kaball-desktop>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, Mar 9, 2011 at 2:42 PM, Stefano Stabellini
<stefano.stabellini@xxxxxxxxxxxxx> 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@xxxxxxxxx>
>
> Acked-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>

Included Kevin so this can be taken up into the block subsystem branch.

Stefan

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

<Prev in Thread] Current Thread [Next in Thread>