In what scenario is frame->root->client empty in glusterfsd #2654
Unanswered
jifengzhou
asked this question in
Q&A
Replies: 1 comment
-
When the fop is sent by the parent translators of io-threads. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When reading the __iot_enqueue function of io-thread.c, I saw that there is a code to check whether frame->root->client is empty. When the client pointer is NULL, execute ctx = &conf->no_client[pri], I Want to know what scenarios will the client be NULL?
void
__iot_enqueue(iot_conf_t *conf, call_stub_t *stub, int pri)
{
client_t *client = stub->frame->root->client;
iot_client_ctx_t *ctx;
.....
Beta Was this translation helpful? Give feedback.
All reactions