Skip to content

service: Bifurcate 'complete_online_check' handling.

Grant Erickson connman 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2service: Bifurcate 'complete_online_check' handling.src/service.c+93 -310 replies
2/2service: Document 'handle_online_check_{failure,success}'.src/service.c+75 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] service: Bifurcate 'complete_online_check' handling.

This bifurcates 'complete_online_check' closure handling into a success and failure handler: 'handle_online_check_success' and 'handle_online_check_failure'.

Both at present and as the continuous online check mode (also known as, 'EnableOnlineToReadyTransition') evolves, the closure handling of online checks is both more tractable and easier to reason about when partitioned into success and failures rather than co-mingling both into the same function. Moreover, this simplifies 'complete_online_check' itself.

Grant Erickson (2):
service: Bifurcate 'complete_online_check' handling.
service: Document 'handle_online_check_{failure,success}'.

 src/service.c | 199 ++++++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 168 insertions(+), 31 deletions(-)
Signature · 1 line
2.42.0