+25
−39
Loading
Following the last patch, add g_active_conns to manage active connections by TAILQ. We cannot remove the is_valid bit and g_conns_array to support iSCSI top application, but this change simplifies the code a little. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I8b449f3056ffaed19f23f42d83c912dfba9a7b75 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3090 Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com>