Re: [Xen-devel] [PATCH] xen-blkfront: emit KOBJ_OFFLINE uevent when detaching device
From: Jan Beulich
Date: Wed Jul 05 2017 - 04:17:34 EST
>>> On 05.07.17 at 10:08, <vincent.legout@xxxxxxxxx> wrote:
> Without the patch, blkif_release and xlvbd_release_gendisk are never
> called, and no call to blk_unregister_queue is made.
But isn't that what needs to be fixed then? The device should be
removed once its last user goes away (which would be at the time
the umount is eventually done aiui).