numam-spdk/examples
Jim Harris d07dc4d361 nvme/fio: free io_qpairs in close callback
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>
2021-12-15 16:45:56 +00:00
..
accel examples/accel_perf: remove batching 2021-12-08 16:35:40 +00:00
bdev bdev_fio: use the new bdev_get_zone_id() helper 2021-11-11 23:23:35 +00:00
blob examples/blobcli: remove a redundant error prompt 2021-12-14 09:09:31 +00:00
idxd spelling: examples 2021-12-01 09:15:03 +00:00
interrupt_tgt interrupt_tgt: Fix the interrupt mode usage issue. 2021-07-13 08:59:41 +00:00
ioat build: use DEPDIRS variables to build SPDK_LIB_LIST 2020-12-18 09:40:01 +00:00
nvme nvme/fio: free io_qpairs in close callback 2021-12-15 16:45:56 +00:00
nvmf nvmf: remove accept poller from generic layer 2021-12-14 13:18:33 +00:00
sock examples: update pollers to use the expected enum values 2021-11-03 23:12:25 +00:00
util Util: check the error case of NULL pointer 2021-06-08 08:26:12 +00:00
vmd lsvmd: use spdk_pci_for_each_device API 2021-12-14 09:08:59 +00:00
Makefile examples/idxd: Add the perf tool for idxd 2021-09-22 06:54:48 +00:00