[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <55ED29B3.3040805@oracle.com>
Date: Mon, 07 Sep 2015 14:07:47 +0800
From: Bob Liu <bob.liu@...cle.com>
To: Julien Grall <julien.grall@...rix.com>
CC: Roger Pau Monne <roger.pau@...rix.com>,
linux-kernel@...r.kernel.org, xen-devel@...ts.xenproject.org,
Boris Ostrovsky <boris.ostrovsky@...cle.com>,
David Vrabel <david.vrabel@...rix.com>
Subject: Re: [Xen-devel] [PATCH] xen-blkback: free requests on disconnection
Hi Julien,
On 09/04/2015 09:51 PM, Julien Grall wrote:
> Hi Roger,
>
> On 04/09/15 11:08, Roger Pau Monne wrote:
>> Request allocation has been moved to connect_ring, which is called every
>> time blkback connects to the frontend (this can happen multiple times during
>> a blkback instance life cycle). On the other hand, request freeing has not
>> been moved, so it's only called when destroying the backend instance. Due to
>> this mismatch, blkback can allocate the request pool multiple times, without
>> freeing it.
>>
>> In order to fix it, move the freeing of requests to xen_blkif_disconnect to
>> restore the symmetry between request allocation and freeing.
>>
>> Reported-by: Julien Grall <julien.grall@...rix.com>
>> Signed-off-by: Roger Pau Monné <roger.pau@...rix.com>
>> Cc: Julien Grall <julien.grall@...rix.com>
>> Cc: Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>
>> Cc: Boris Ostrovsky <boris.ostrovsky@...cle.com>
>> Cc: David Vrabel <david.vrabel@...rix.com>
>> Cc: xen-devel@...ts.xenproject.org
>
> The patch is fixing my problem when using UEFI in the guest. Thank you!
>
Could you please explain the problem you met a bit more?
So that I can know back port this patch if met similar issue.
Thanks,
-Bob
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists