+7
−11
Loading
As the message file descriptor of thread is of type eventfd, we can set fd type in the event handler opts and use SPDK_FD_GROUP_ADD_EXT. This way we don't need to read the msg fd, which will be done during the fd group wait. Set msg_fd to -1 if fd group creation fails, to prevent wrong cleaup during thread_interrupt_destroy call. Change-Id: I2b64ad09bb368484a81781e4805ecbf8fc8cb02c Signed-off-by:Ankit Kumar <ankit.kumar@samsung.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25432 Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by:
Jim Harris <jim.harris@nvidia.com> Community-CI: Mellanox Build Bot Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>