Spdk/test
Seth Howell f2b22d68d6 subsystem: defer channel iter until pg functions return
The poll group pause, resume, remove, and add functions are only called
from the subsystem_state_change_on_pg function. Previously, they would
return immediately and the state change would move on to the next
channel. However, some of these functions (specifically remove) kick off
asynchronous APIs and we should not iterate past them until those
asynchronous operations complete.

Change-Id: I78804273b39f2d171ba26ac4478ad515356833f3
Signed-off-by: Seth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/419289
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
2018-07-31 16:14:29 +00:00
..
app app: add missing spdk_app_fini call 2018-07-02 03:28:11 +00:00
bdev Clean up some incorrect Copyright statements 2018-07-30 16:29:38 +00:00
blobfs blobfs: change the return type of spdk_file_truncate 2018-07-26 01:42:17 +00:00
blobstore autotest_common.sh: move to test/common 2018-02-27 20:37:27 -05:00
common test: add some basic raid tests 2018-07-30 14:59:45 +00:00
cpp_headers build: add @: to remaining 'all' targets 2018-02-14 17:38:25 -05:00
env test/vtophys: reduce amount of memory requested 2018-07-26 05:28:52 +00:00
event test/event_perf: use less memory 2018-07-26 05:28:52 +00:00
ioat ioat: remove ioat kperf kernel driver test harness 2018-04-30 17:11:53 +00:00
iscsi_tgt test/iscsi: replace config files from iscsi tests with json and rpc calls 2018-07-27 16:49:55 +00:00
json_config bdev/nvme: add RPC to enable and disable hotplug 2018-07-26 22:12:29 +00:00
lvol teest/lvol: Use lvol store default cluster size 2018-07-27 21:43:47 +00:00
nvme log: add backtrace option 2018-07-25 15:48:25 +00:00
nvmf test/iscsi: replace config files from iscsi tests with json and rpc calls 2018-07-27 16:49:55 +00:00
pmem test/json: Add pmem bdev test 2018-07-05 19:09:56 +00:00
spdkcli test/spdkcli: Fix: Add missing delete_*_bdev methods 2018-07-27 16:48:02 +00:00
unit subsystem: defer channel iter until pg functions return 2018-07-31 16:14:29 +00:00
vhost bdev: add delete_nvme_bdev call 2018-07-26 22:07:50 +00:00
Makefile test: move lib/json up to test app directory 2018-03-29 00:31:24 -04:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00