numam-spdk/lib/nvmf
Alexey Marchuk 1a4dec353a nvmf/rpc: Destroy subsystem if spdk_rpc_nvmf_create_subsystem fails
Destroy subystem if spdk_nvmf_subsystem_set_sn or spdk_nvmf_subsystem_set_mn
failed. Check status in spdk_rpc_nvmf_subsystem_started callback, destroy
subsystem and report an error on error.

Fixes #1192

Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/832 (master)

(cherry picked from commit c29247e1fe)
Change-Id: Id6bdfe4705b5f4677118f94e04652c2457a3fdcc
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1296
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2020-03-19 08:09:53 +00:00
..
ctrlr_bdev.c nvmf: Return ACWU and NACWU values in indentify structures 2020-01-27 17:39:52 +00:00
ctrlr_discovery.c nvmf: don't keep a global discovery log page. 2019-09-03 00:30:59 +00:00
ctrlr.c lib/nvmf: properly validate fuse command fields. 2020-01-30 16:57:01 +00:00
custom_cmd_hdlr.c lib/nvmf: custom admin cmd handler 2020-01-20 09:56:35 +00:00
fc_ls.c lib/nvmf: get_transport now takes a string. 2020-01-16 09:10:38 +00:00
fc.c nvmf: pass listen done cb to transport specific code 2020-01-16 09:18:38 +00:00
Makefile lib/nvmf: custom admin cmd handler 2020-01-20 09:56:35 +00:00
nvmf_fc.h lib/nvme: update trid struct with trstring. 2020-01-16 09:10:38 +00:00
nvmf_internal.h nvmf: Add support for compare op command 2020-01-27 17:39:52 +00:00
nvmf_rpc.c nvmf/rpc: Destroy subsystem if spdk_rpc_nvmf_create_subsystem fails 2020-03-19 08:09:53 +00:00
nvmf.c lib/nvmf: nvmf target stops to listen when subsystem is destroyed 2020-01-22 13:53:34 +00:00
rdma.c rdma: Correct handling of RDMA_CM_EVENT_DEVICE_REMOVAL 2020-03-19 08:09:53 +00:00
subsystem.c lib/nvmf: nvmf target stops to listen when subsystem is destroyed 2020-01-22 13:53:34 +00:00
tcp.c nvmf/tcp: Correctly kick the recv state machine when a request is freed 2020-01-27 17:42:24 +00:00
transport.c nvmf/tcp: Simplify qpair resource initialization 2020-01-27 17:42:24 +00:00
transport.h nvmf/tcp: Simplify qpair resource initialization 2020-01-27 17:42:24 +00:00