> On 28 Nov 2016, at 17:41, Wouter Verhelst <[email protected]> wrote:
> 
> What I'm suggesting is that the parent process negotiates everything,
> but that it does the fork() call only just before doing the NBD_DO_IT
> ioctl(). At that point, we've already negotiated, and there is very
> little that can go wrong anymore. The child process will need to wait a
> short while to avoid the obvious race (although a second might indeed be
> overdoing it), but beyond that it should be good.

I will admit to not following this in complete detail, but this sounds
to me like a systemd problem / thinko, rather than an nbd client
thinko.

I suppose it would be possible to specify some sort of external command
that could be run when (re)mounting, or (if run under systemd) send it
some form of message ...

-- 
Alex Bligh





------------------------------------------------------------------------------
_______________________________________________
Nbd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nbd-general

Reply via email to