+4
−15
+1
−2
Loading
Small but noticable on perf top. We were using a list to track valid batches and checking it on every submission. Instead just put a valid channel ptr in the batch struct and clear it when the batch is freed. There was no other reason for the list. Signed-off-by:paul luse <paul.e.luse@intel.com> Change-Id: Ia26ceee578be4a82f4fd8abb2358ff18c56271a4 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9149 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>