numam-spdk/lib/nvmf
GangCao da01835d84 lib/nvmf: handle the failed case when activating the subsystem
In the case of failing to spdk_nvmf_poll_group_add_subsystem()
operation, the subsystem still needs to initialize the related
queue so that later coming request can be properly queued.

Also needs to correctly handle the expected state in this failed
condition so that when destroying the subsystem, it could be
properly handled.

Change-Id: I419f2ac7164c25258c3911952c38b9433fca762b
Signed-off-by: GangCao <gang.cao@intel.com>
Reviewed-on: https://review.gerrithub.io/422799
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2018-08-21 22:19:54 +00:00
..
ctrlr_bdev.c nvmf/bdev: use spdk_bdev_queue_io_wait() 2018-08-21 17:00:13 +00:00
ctrlr_discovery.c bdev: Rename spdk_internal/bdev.h to spdk/bdev_module.h 2018-05-25 16:02:22 +00:00
ctrlr.c nvmf: Store thread in controller structure 2018-08-16 03:30:24 +00:00
Makefile build: remove $(ENV_CFLAGS) where not necessary 2018-01-03 12:05:59 -05:00
nvmf_fc.h nvmf: fix coding style for astyle 2.05 in nvmf_fc.h 2018-07-17 07:53:18 +00:00
nvmf_internal.h nvmf/bdev: use spdk_bdev_queue_io_wait() 2018-08-21 17:00:13 +00:00
nvmf.c lib/nvmf: handle the failed case when activating the subsystem 2018-08-21 22:19:54 +00:00
rdma.c nvmf/rdma: Create pd and memory map at transport initialization 2018-08-21 17:02:31 +00:00
request.c nvmf: add free_req function pointer. 2018-07-27 20:50:36 +00:00
subsystem.c lib/nvmf: handle the failed case when activating the subsystem 2018-08-21 22:19:54 +00:00
transport.c nvmf: Queue pairs can no longer be removed from poll groups 2018-08-13 18:57:45 +00:00
transport.h nvmf: Queue pairs can no longer be removed from poll groups 2018-08-13 18:57:45 +00:00