d07dc4d361
If user uses the 'loops' parameter, then it will call the open+close callbacks for each loop, but only cleanup at the end of the entire run. Since we alloc the io_qpair in open, but don't free them until cleanup, we end up running out of io qpairs at some point if we run too many loops. So solution is to free the io qpairs in the close callback. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Ibac864836f94994cdd24a7886894778268b14f73 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10674 Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: John Kariuki <John.K.Kariuki@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Dong Yi <dongx.yi@intel.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
accel | ||
bdev | ||
blob | ||
idxd | ||
interrupt_tgt | ||
ioat | ||
nvme | ||
nvmf | ||
sock | ||
util | ||
vmd | ||
Makefile |