Re: [PATCH] xen-blkfront: emit KOBJ_OFFLINE uevent when detaching device

2017-07-05 Thread Vincent Legout
On Tue, Jul 04, 2017 at 05:59:27PM +0100, Roger Pau Monné wrote : > On Tue, Jul 04, 2017 at 01:48:32PM +0200, Vincent Legout wrote: > > Devices are not unmounted inside a domU after a xl block-detach. > > > > After xl block-detach, blkfront_closing() is called with state == > >

Re: [PATCH] xen-blkfront: emit KOBJ_OFFLINE uevent when detaching device

2017-07-05 Thread Vincent Legout
On Tue, Jul 04, 2017 at 05:59:27PM +0100, Roger Pau Monné wrote : > On Tue, Jul 04, 2017 at 01:48:32PM +0200, Vincent Legout wrote: > > Devices are not unmounted inside a domU after a xl block-detach. > > > > After xl block-detach, blkfront_closing() is called with state == > >

Re: [PATCH] xen-blkfront: emit KOBJ_OFFLINE uevent when detaching device

2017-07-04 Thread Roger Pau Monné
On Tue, Jul 04, 2017 at 01:48:32PM +0200, Vincent Legout wrote: > Devices are not unmounted inside a domU after a xl block-detach. > > After xl block-detach, blkfront_closing() is called with state == > XenbusStateConnected, it detects that the device is still in use and > only switches state to

Re: [PATCH] xen-blkfront: emit KOBJ_OFFLINE uevent when detaching device

2017-07-04 Thread Roger Pau Monné
On Tue, Jul 04, 2017 at 01:48:32PM +0200, Vincent Legout wrote: > Devices are not unmounted inside a domU after a xl block-detach. > > After xl block-detach, blkfront_closing() is called with state == > XenbusStateConnected, it detects that the device is still in use and > only switches state to