Spdk/lib/nvmf
GangCao fc7e847539 nvmf: check whether the transport already in poll group
Add a check when adding transport in the poll group.
If already there, just return.

The poll_group_add_transport operation can be called
at the poll group creation and target listen both.

Change-Id: I655d6fa97cafdc11fa23d199bdfe31350b920ca4
Signed-off-by: GangCao <gang.cao@intel.com>
Reviewed-on: https://review.gerrithub.io/395039
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2018-02-02 12:27:00 -05:00
..
ctrlr_bdev.c nvmf: Hot plug notifications now use the subsystem pause functionality 2018-01-17 17:28:13 -05:00
ctrlr_discovery.c nvmf: add support of hotplug for nvmf. 2017-12-15 16:14:02 -05:00
ctrlr.c nvmf: Hot plug notifications now use the subsystem pause functionality 2018-01-17 17:28:13 -05:00
Makefile build: remove $(ENV_CFLAGS) where not necessary 2018-01-03 12:05:59 -05:00
nvmf_internal.h nvmf: Remove master_thread concept 2018-01-17 17:28:13 -05:00
nvmf.c nvmf: check whether the transport already in poll group 2018-02-02 12:27:00 -05:00
rdma.c nvmf_tgt: add IPv6 listen address support 2018-01-29 12:41:57 -05:00
request.c nvmf: Fail incoming commands to an inactive subsystem 2018-01-17 17:28:13 -05:00
subsystem.c nvmf: Check subsystem state when modifying listeners or hosts 2018-01-24 15:52:48 -05:00
transport.c nvmf: Remove poll group from controller 2017-12-12 15:01:17 -05:00
transport.h nvmf: Remove poll group from controller 2017-12-12 15:01:17 -05:00