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

From: Roger Pau Monné
Date: Thu May 18 2017 - 10:53:38 EST

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.