+4
−9
Loading
There are a small, bounded set of placement_ids that the socket layer will ever encounter, and they remain valid for the lifetime of the program. The association between a poll group and a placement_id is now correctly broken when the reference count drops to 0 (in response to sock_map_release calls), so do not free the entry when the poll group is destroyed so that it may be reused again. Change-Id: Iad90e2da7d0860fa8c5cff24f9699bef30cd7bc2 Signed-off-by:Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7210 Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>