[DRBD-user] [PATCH] xen-blkback: Switch to closed state after releasing the backing device
Roger Pau Monné
roger.pau at citrix.com
Thu Sep 13 17:08:00 CEST 2018
On Mon, Sep 10, 2018 at 06:18:31PM +0200, Valentin Vidic wrote:
> 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.
So I have the following patch which I think might solve your issues
while keeping the reset logic working. Would you mind giving it a try
with your use case and pvgrub?
More information about the drbd-user