numam-spdk/lib
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
..
bdev io_channel: add return value to pollers 2018-03-13 11:16:20 -04:00
blob bdev: rename spdk_bdev_module_if -> spdk_bdev_module 2018-03-13 00:55:12 -04:00
blobfs blobfs: cleanup and add comments in deleted file cleanup path 2018-03-02 15:30:32 -05:00
conf conf: Remove use of perror() for strdup() failure 2017-12-15 16:13:27 -05:00
copy io_channel: add return value to pollers 2018-03-13 11:16:20 -04:00
cunit include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
env_dpdk env: print SPDK version during init 2018-03-08 11:38:19 -05:00
event io_channel: add return value to pollers 2018-03-13 11:16:20 -04:00
ioat scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
iscsi io_channel: add return value to pollers 2018-03-13 11:16:20 -04:00
json json: add va_arg versions for write_string and write_named_string 2018-02-23 15:27:16 -05:00
jsonrpc jsonrpc: add spdk_jsonrpc_send_error_response_fmt 2018-02-23 15:27:16 -05:00
log log: rename SPDK_TRACE_* to SPDK_LOG_* 2017-12-07 12:23:19 -05:00
lvol bdev: Added functions allowing logical volume store rename. 2018-03-08 11:26:16 -05:00
nbd io_channel: add return value to pollers 2018-03-13 11:16:20 -04:00
net scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
nvme util: add uuid.h to wrap libuuid 2018-03-08 10:49:51 -05:00
nvmf io_channel: add return value to pollers 2018-03-13 11:16:20 -04:00
rocksdb lib: Return instead of exit in event 2018-03-08 11:47:01 -05:00
rpc rpc: remove the existing socket file when application starts 2018-03-02 16:48:53 -05:00
scsi io_channel: add return value to pollers 2018-03-13 11:16:20 -04:00
trace lib: Return instead of exit in trace 2018-03-13 00:53:35 -04:00
ut_mock test/mock: add pthread_self 2017-09-19 17:15:15 -04:00
util io_channel: protect critial variables under mutex 2018-03-09 12:17:46 -05:00
vhost io_channel: add return value to pollers 2018-03-13 11:16:20 -04:00
virtio virtio/user: implement get/set config messages 2018-02-23 15:37:11 -05:00
Makefile virtio: add new library virtio 2017-12-26 13:03:29 -05:00