+27
−0
Loading
There is no indication right now that this function couldn't be called by multiple threads on different controllers. However, internally it is using two globals that can become corrupted if the user were to do this. Put a lock around them so it is safe. Signed-off-by:Ben Walker <benjamin.walker@intel.com> Change-Id: I59361f510eb1659c2346f1fd33c375add1dc9c81 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1903 Community-CI: Mellanox Build Bot Community-CI: Broadcom CI Reviewed-by:
Jim Harris <james.r.harris@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>