Spdk/test/unit/lib
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
..
bdev bdev/raid: Free all strings allocated by JSON decoder on all paths in RPC 2018-07-30 15:44:27 +00:00
blob ut/blobstore: add spdk_bs_load() tests for different cluster_size 2018-07-27 21:44:46 +00:00
blobfs blobfs: change the return type of spdk_file_truncate 2018-07-26 01:42:17 +00:00
event
ioat ut/ioat: drop legacy mocks 2018-07-03 16:29:42 +00:00
iscsi iscsi: Support hot removal of LUN based on LUN open/close 2018-07-17 17:43:28 +00:00
json ut/json: add a few test cases to json_parse_ut 2018-07-06 22:47:18 +00:00
jsonrpc
log rpc.py: remove references of "debug" trace flag 2018-04-25 17:31:28 +00:00
lvol lvol: destroy_lvol_bdev implementation 2018-07-25 17:06:45 +00:00
nvme test/nvme: add unit test cases for nvme_qpair.c 2018-07-10 01:02:36 +00:00
nvmf subsystem: defer channel iter until pg functions return 2018-07-31 16:14:29 +00:00
scsi scsi: Enforce to open LUN and then alloc IO channel by using descriptor 2018-07-17 17:43:28 +00:00
sock net: split sock abstraction into lib/sock 2018-06-22 17:09:57 +00:00
thread test: Move poller test to the thread unit test 2018-07-02 19:12:45 +00:00
util util/base64: add base64 lib and unit tests 2018-07-19 00:50:54 +00:00
vhost ut/vhost: remove backend-specific tests 2018-07-03 22:18:57 +00:00
json_mock.c
Makefile net: split sock abstraction into lib/sock 2018-06-22 17:09:57 +00:00