Re: [PATCH 0/3] xen/blkback: several fixes of resource management

From: Juergen Gross
Date: Thu May 18 2017 - 11:04:27 EST


On 18/05/17 16:38, Roger Pau Monnà wrote:
> On Tue, May 16, 2017 at 08:23:17AM +0200, Juergen Gross wrote:
>> Destroying a Xen guest domain while it was doing I/Os via xen-blkback
>> leaked several resources, including references of the guest's memory
>> pages.
>>
>> This patch series addresses those leaks by correcting usage of
>> reference counts and the sequence when to free which resource.
>>
>> The series applies on top of commit 2d4456c73a487abe ("block:
>> xen-blkback: add null check to avoid null pointer dereference") in
>> Jens Axboe's tree kernel/git/axboe/linux-block.git
>>
>> Juergen Gross (3):
>> xen/blkback: fix disconnect while I/Os in flight
>> xen/blkback: don't free be structure too early
>> xen/blkback: don't use xen_blkif_get() in xen-blkback kthread
>
> All 3:
>
> Acked-by: Roger Pau Monnà <roger.pau@xxxxxxxxxx>
>
> The comment reported by Dietmar in patch #1 would be nice to fix.

Okay, I'll send V2 soon.


Juergen