Skip to content

Commit

Permalink
DAOS-16628 client: reset eq counter to zero after fork() in IL
Browse files Browse the repository at this point in the history
Features: pil4dfs

Required-githooks: true
Skipped-githooks: codespell

Signed-off-by: Lei Huang <[email protected]>
  • Loading branch information
wiliamhuang committed Oct 5, 2024
1 parent 9c8746e commit f6c21cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/client/dfuse/il/int_posix.c
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,7 @@ child_hdlr(void)
DFUSE_LOG_WARNING("daos_eq_create() failed: "DF_RC, DP_RC(rc));
else
ioil_iog.iog_main_eqh = ioil_eqh;
ioil_iog.iog_eq_count = 0;
}

/* Returns true on success */
Expand Down
1 change: 1 addition & 0 deletions src/client/dfuse/pil4dfs/int_dfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -945,6 +945,7 @@ child_hdlr(void)
daos_dti_reset();
td_eqh = main_eqh = DAOS_HDL_INVAL;
context_reset = true;
d_eq_count = 0;
}

/* only free the reserved low fds when application exits or encounters error */
Expand Down

0 comments on commit f6c21cf

Please sign in to comment.