Re: [PATCH] xen/blkback: fix disconnect while I/Os in flight

2017-04-25 Thread Roger Pau Monné
On Fri, Apr 21, 2017 at 10:51:00AM +0200, Juergen Gross wrote: > Today disconnecting xen-blkback is broken in case there are still > I/Os in flight: xen_blkif_disconnect() will bail out early without > releasing all resources in the hope it will be called again when > the last request has terminate

[PATCH] xen/blkback: fix disconnect while I/Os in flight

2017-04-21 Thread Juergen Gross
Today disconnecting xen-blkback is broken in case there are still I/Os in flight: xen_blkif_disconnect() will bail out early without releasing all resources in the hope it will be called again when the last request has terminated. This, however, won't happen as xen_blkif_free() won't be called on t