Spdk/examples
Niklas Cassel 6e231f59af examples/nvme/identify: remove exit_and_free_qpair()
Currently, error handling code in examples/nvme/identify frees the qpair
before calling exit().
However, since every SPDK process starts off by triggering a reset
(in state NVME_CTRLR_STATE_INIT), which causes all the qpairs to be
deleted, there is not really a reason to do a nice cleanup on error.

Additionally, other examples, e.g. examples/nvme/hello_world does not
do a nice cleanup on error, so it is inconsistent if identify does so.

Proper freeing of the qpairs is still done in the normal case where
we don't get any errors (in this example, and in other examples).

Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com>
Change-Id: I0db612934464e6e84eaf466c12eb35eaa396e511
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4838
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2020-10-23 13:47:09 +00:00
..
accel examples/accel/perf: replace mempool of tasks with lists of tasks 2020-07-24 19:38:46 +00:00
bdev doc: remove mentions of legacy config 2020-10-22 17:08:41 +00:00
blob script/gen_nvme: do not generate legacy configuration 2020-10-22 17:08:41 +00:00
ioat example/ioat: Initialize global TAILQ HEAD variables at definition. 2020-10-14 08:06:25 +00:00
nvme examples/nvme/identify: remove exit_and_free_qpair() 2020-10-23 13:47:09 +00:00
nvmf nvmf: Eliminate spdk_nvmf_tgt_accept() 2020-09-21 07:55:54 +00:00
sock sock/vpp: remove VPP implementation 2020-08-17 08:19:46 +00:00
vmd lib/vmd: detach devices during shutdown 2020-02-04 16:50:25 +00:00
Makefile examples/accel/perf: perf tool using the accel framework 2020-03-16 08:45:13 +00:00