-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DAOS-15151 cart: Cleanup runaway sessions #14386
base: master
Are you sure you want to change the base?
Conversation
- Initial version of a '-c' option (cleanup sessions) for self_test. Allows user to terminate all self_test sessions on the specified targets. Intended to be used as a follow-up to an abrupt exit of the previous self_test session. - clang format of self_test.c file Required-githooks: true Signed-off-by: Alexander A Oganezov <alexander.a.oganezov@intel.com>
Ticket title is 'DAOS 2.4 - src/cart/crt_self_test_service.c:657 crt_self_test_msg_handler() No self-test buffers available for session ' |
if (cleanup_sessions) | ||
close_all_sessions(crt_ctx, srv_grp, endpts, num_endpts); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
session close code
static void | ||
close_all_sessions(crt_context_t cr_ctx, crt_group_t *srv_grp, struct st_endpoint *st_eps, | ||
int num_eps) | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new close all sessions client function
case 'c': | ||
cleanup_sessions = true; | ||
break; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new option
Initial version of a '-c' option (cleanup sessions) for self_test. Allows user to terminate all self_test sessions on the specified targets. Intended to be used as a follow-up to an abrupt exit of the previous self_test session.
clang format of self_test.c file
Required-githooks: true
Before requesting gatekeeper:
Features:
(orTest-tag*
) commit pragma was used or there is a reason documented that there are no appropriate tags for this PR.Gatekeeper: