Spdk/lib/iscsi
Ziye Yang d10401cc07 iscsi: Solve the potential no io channel issue.
Reason: If we trigger the spdk_iscsi_conn_migration,
we may face the issue that the io channel of lun
is NULL(which means not allocated). So I think
that if we trigger the migration, we need to
stop the executing the further pdu of this conn
by the current polling group.

Also since the connection is triggered migration,
we should stop execution on the current core, and
let this connection be handled by next round.

Change-Id: I0ab89d79c976f3233890ae25cb7eac98de5e30ac
Signed-off-by: Ziye Yang <optimistyzy@gmail.com>
Reviewed-on: https://review.gerrithub.io/409984
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
2018-05-31 01:01:17 +00:00
..
acceptor.c io_channel: add return value to pollers 2018-03-13 11:16:20 -04:00
acceptor.h iscsi: login poller per portal and portal cache 2017-10-06 17:00:45 -04:00
conn.c iscsi: Solve the potential no io channel issue. 2018-05-31 01:01:17 +00:00
conn.h iscsi: Solve the potential no io channel issue. 2018-05-31 01:01:17 +00:00
init_grp.c iscsi: Add JSON config/info dump for initiator group. 2018-05-10 19:38:26 +00:00
init_grp.h iscsi: Add JSON config/info dump for initiator group. 2018-05-10 19:38:26 +00:00
iscsi_rpc.c iscsi: Add JSON config/info dump for portal group. 2018-05-10 19:38:26 +00:00
iscsi_subsystem.c iscsi: Add JSON config/info dump for portal group. 2018-05-10 19:38:26 +00:00
iscsi.c iscsi: do static initialization of globals that allow it 2018-04-12 11:26:44 -04:00
iscsi.h iscsi: Add JSON config dump for iSCSI subsystem 2018-05-09 17:18:30 +00:00
Makefile build: remove $(ENV_CFLAGS) where not necessary 2018-01-03 12:05:59 -05:00
md5.c astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
md5.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
param.c iscsi: Change the type of some negotiation params from uint32_t to bool 2018-03-14 13:41:22 -04:00
param.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
portal_grp.c iscsi: Fix two bugs of JSON config dump 2018-05-17 23:06:11 +00:00
portal_grp.h iscsi: Add JSON config/info dump for portal group. 2018-05-10 19:38:26 +00:00
task.c scsi, iscsi: move task->parent to iSCSI task 2018-01-05 00:01:37 -05:00
task.h scsi, iscsi: move task->parent to iSCSI task 2018-01-05 00:01:37 -05:00
tgt_node.c iscsi: Fix two bugs of JSON config dump 2018-05-17 23:06:11 +00:00
tgt_node.h iscsi: Add JSON config/info dump for target node. 2018-05-04 17:45:48 +00:00