Spdk/lib/event
Ziye Yang 9f697e0fe2 nvmf: change judgement to assert
Reason: It should never fail, which should
comply with the logic in nvmf_tgt_destroy_poll_group.

For the current case, if the judement fails,
we still add the g_active_poll_groups, the logic
is not correct. And according to the analysis,
the poll group creation should not fail.

Change-Id: I408ee1e8099f709330b8a6ffd26cf27d6a549bed
Signed-off-by: Ziye Yang <optimistyzy@gmail.com>
Reviewed-on: https://review.gerrithub.io/414565
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2018-06-12 01:32:35 +00:00
..
rpc rpc: Add state_mask to each RPC method to make sets of RPCs 2018-05-03 19:48:15 +00:00
subsystems nvmf: change judgement to assert 2018-06-12 01:32:35 +00:00
app.c event/app: add spdk_app_usage 2018-06-11 17:39:56 +00:00
Makefile build: remove $(ENV_CFLAGS) where not necessary 2018-01-03 12:05:59 -05:00
reactor.c event: Remove timer poll count checks 2018-06-11 22:26:21 +00:00
rpc.c rpc: Add state_mask to each RPC method to make sets of RPCs 2018-05-03 19:48:15 +00:00
subsystem.c event: allow subsystem to write configuration in async way 2018-03-27 02:57:28 -04:00