Although I’m not familiar with systemd, this also looks fine:
Acked-by: David Scott
> On 6 Aug 2015, at 14:38, Wei Liu wrote:
>
> Oxenstored only needs to notify systemd its readiness state once. Move
> sd_notify_ready out of main loop.
>
> Signed-off-by: Wei Liu
> ---
> Cc: Dave Scott
>
Oxenstored only needs to notify systemd its readiness state once. Move
sd_notify_ready out of main loop.
Signed-off-by: Wei Liu
---
Cc: Dave Scott
For 4.6: avoid wasting CPU cycles, easy to reason its correctness.
There is a small risk that either I wrote the wrong code or I
misunderstand the