numam-spdk/test
Naresh Gottumukkala dc0d896293 nvmf/fc: Cleanup pollgroup and hwqp mapping logic.
1) As part of nvmf_fc_adm_evnt_hw_port_offline event, We try to remove
hwqps from pollgroup but we dont actually wait the action to complete.
Wait for the action to complete before completing nvmf_fc_adm_evnt_hw_port_offline
as this will serialise things nicely.

2) Protect fgroup->hwqp_count inside the transport lock as there can be
races where an fgroup can be removed paralley.

Signed-off-by: Naresh Gottumukkala <raju.gottumukkala@broadcom.com>
Change-Id: Ib7af6bc0641c91e40331da2b2a7e72b5f55d54ae
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5808
Community-CI: Broadcom CI
Community-CI: Mellanox Build Bot
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2021-01-14 16:18:25 +00:00
..
app build: add ufc to SYS_LIBS in spdk.common.mk 2020-12-28 13:32:06 +00:00
bdev event: add "A" to SPDK_APP_GETOPT_STRING 2020-12-31 08:28:08 +00:00
blobfs build: use DEPDIRS variables to build SPDK_LIB_LIST 2020-12-18 09:40:01 +00:00
blobstore bdev: Make the small and large buffer pool configurable. 2020-12-28 14:05:34 +00:00
common test/common: Add SPDK_APP wrapper for spdk_tgt 2021-01-07 13:38:26 +00:00
compress script/gen_nvme: do not generate legacy configuration 2020-10-22 17:08:41 +00:00
config_converter vhost: deprecate internal vhost library support 2020-10-20 02:42:16 +00:00
cpp_headers queue_extras: use SPDK_CONTAINEROF 2019-10-07 15:06:01 +00:00
dd test/dd: Lower the number of block size tests 2020-08-20 09:27:21 +00:00
dpdk_memory_utility build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
env test: add some missing stubs 2020-11-02 11:23:21 +00:00
event build: use DEPDIRS variables to build SPDK_LIB_LIST 2020-12-18 09:40:01 +00:00
external_code test/external_code: use -pthread instead of -lpthread 2020-12-28 13:32:06 +00:00
ftl scripts: replace PCI_WHITELIST with PCI_ALLOWED 2020-12-03 09:41:07 +00:00
fuzz test/iscsi: remove VPP tests 2020-08-17 08:19:46 +00:00
ioat build: Example applications build to build/example 2020-06-15 15:27:16 +00:00
iscsi_tgt script/gen_nvme: do not generate legacy configuration 2020-10-22 17:08:41 +00:00
json_config script/gen_nvme: do not generate legacy configuration 2020-10-22 17:08:41 +00:00
lvol test/lvol: rename lvol test script 2020-10-20 08:54:53 +00:00
make lib/thread: Defer exiting thread if thread is unregistering io_device 2021-01-13 10:07:51 +00:00
nvme test: Replace spdk/nvmecli with stock nvmecli 2021-01-04 16:28:01 +00:00
nvmf test: Replace spdk/nvmecli with stock nvmecli 2021-01-04 16:28:01 +00:00
ocf test/ocf: remove unused nvme_cfg() function 2020-11-05 09:37:55 +00:00
openstack script/gen_nvme: do not generate legacy configuration 2020-10-22 17:08:41 +00:00
pmem build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
rpc build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
rpc_client build: use DEPDIRS variables to build SPDK_LIB_LIST 2020-12-18 09:40:01 +00:00
spdkcli script/gen_nvme: do not generate legacy configuration 2020-10-22 17:08:41 +00:00
unit nvmf/fc: Cleanup pollgroup and hwqp mapping logic. 2021-01-14 16:18:25 +00:00
vhost test/vhost: Fix traddr lookup 2020-12-28 13:17:20 +00:00
vmd test: replace VMD_WHITELIST with VMD_ALLOWED 2020-12-03 09:41:07 +00:00
Makefile build: add option to disable building unit tests 2020-03-10 09:12:21 +00:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00