[lkml]   [2015]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [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 <>
>> Signed-off-by: Roger Pau Monné <>
>> Cc: Julien Grall <>
>> Cc: Konrad Rzeszutek Wilk <>
>> Cc: Boris Ostrovsky <>
>> Cc: David Vrabel <>
>> Cc:
> 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.


 \ /
  Last update: 2015-09-07 08:21    [W:0.055 / U:2.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site