Skip to content

Commit

Permalink
UCT/GGA: move global attach lock to MD, CR2
Browse files Browse the repository at this point in the history
Co-authored-by: Ilia Yastrebov <[email protected]>
  • Loading branch information
evgeny-leksikov and iyastreb authored Jan 14, 2025
1 parent 6b4e261 commit 8e0552f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uct/ib/mlx5/gga/gga_mlx5.c
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@ uct_ib_mlx5_gga_md_open(uct_component_t *component, const char *md_name,

ret = pthread_mutex_init(&md->mem_attach_lock, NULL);
if (ret != 0) {
ucs_error("failed to initialize mutex");
ucs_error("pthread_mutex_init failed with error: %s", strerror(ret));
status = UCS_ERR_IO_ERROR;
uct_ib_mlx5_devx_md_close(&md->super.super.super);
goto out_free_dev_list;
Expand Down

0 comments on commit 8e0552f

Please sign in to comment.