[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Nbd] [PATCH] nbd-server: add -D/-dont-daemonize option





--On 25 June 2012 11:59:44 +0200 Goswin von Brederlow <goswin-v-b@...186...> wrote:

I think the difference between -D and -d should be made clearer.

With -d the server runs in the foreground and accepts a single
connection only and outputs debug infos, right?

With -D the server runs in the foreground but forks a child for every
connect, right?

Agree re documentation point - must admit it had me confused, but ...

What I would like to see is socket activation in nbd-server. That way
the service can be started as needed without performance loss (other
than the initial startup time once).

Doesn't this only affect connect time, which given the connections are
very long lasting isn't of vast importance? In any case, the fact the patch
doesn't do X extra feature would not be a reason to reject it (not sure
you were suggesting that).

--
Alex Bligh



Reply to: