On Mon, Sep 10, 2018 at 05:00:58PM +0200, Roger Pau Monné wrote: > I can try to take a look at this and attempt to make sure the state is > only changed to closed in blkback _after_ the device has been > released, but it might take me a couple of days to get you a patch. Thanks, I have two test nodes now where I can try different approaches. > I'm afraid that other hotplug scripts will also have issues with such > behavior, and we shouldn't force all users of hotplug scripts to add > such workarounds. True, iSCSI and other "network" disks might have similar problems. -- Valentin