numam-spdk/lib/iscsi
Roman Sudarikov c3bc40a6ef io_channel: add return value to pollers
This will be used to track time used in pollers - each poller can now
indicate if it found any work to do or not.

For cases where it was obvious and the infrastructure was already in
place, existing pollers have been modified to return 0 or a positive
value to indicate whether work was done.  Other pollers have been
modified to return -1 by default, indicating that the poller isn't
indicating anything about whether work was performed.  This will allow
us to find un-annotated pollers easily in the future and fix them
incrementally.

Change-Id: Ifebfa56604a38434fac5c76ba7263267574ff199
Signed-off-by: Roman Sudarikov <roman.sudarikov@intel.com>
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/391042
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
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>
2018-03-13 11:16:20 -04: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 io_channel: add return value to pollers 2018-03-13 11:16:20 -04:00
conn.h lib/iscsi: Remove spdk_iscsi_conn_fn in conn 2018-03-07 10:14:17 -05:00
init_grp.c iscsi: Change function names of iSCSI subsystem configuration 2018-03-09 13:52:04 -05:00
init_grp.h iscsi: Change function names of iSCSI subsystem configuration 2018-03-09 13:52:04 -05:00
iscsi_rpc.c iscsi: Change type CHAP parameters for discovery from int to bool 2018-03-09 13:52:04 -05:00
iscsi_subsystem.c io_channel: add return value to pollers 2018-03-13 11:16:20 -04:00
iscsi.c lib/iscsi: Move last_nopin update in spdk_iscsi_send_nopin 2018-03-09 15:48:03 -05:00
iscsi.h iscsi: Change type CHAP parameters for discovery from int to bool 2018-03-09 13:52:04 -05: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: remove errno lookups for allocations 2017-12-29 13:48:29 -05: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: Change function names of iSCSI subsystem configuration 2018-03-09 13:52:04 -05:00
portal_grp.h iscsi: Change function names of iSCSI subsystem configuration 2018-03-09 13:52:04 -05: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: Check the combination of CHAP params for discovery before applied 2018-03-09 13:52:04 -05:00
tgt_node.h iscsi: Check the combination of CHAP params for discovery before applied 2018-03-09 13:52:04 -05:00