numam-spdk/include/spdk
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
..
assert.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
barrier.h barrier: added spdk_smp_*mb to sync between cores 2017-11-29 10:51:42 -05:00
bdev.h bdev: add spdk_bdev_get_uuid() function 2018-03-08 10:49:51 -05:00
bit_array.h include/bitarray: add comments for public APIs 2018-03-07 19:12:19 -05:00
blob_bdev.h bdev: rename spdk_bdev_module_if -> spdk_bdev_module 2018-03-13 00:55:12 -04:00
blob.h blob: add option to iterate all blobs during spdk_bs_load 2018-02-27 17:40:38 -05:00
blobfs.h blobfs: make the cluster size of blobfs configurable. 2018-01-11 15:50:01 -05:00
conf.h include/conf: add comments for public APIs 2018-02-26 11:59:09 -05:00
copy_engine.h include/copy_engine.h: add comments for public APIs 2018-03-13 00:50:12 -04:00
cpuset.h include/cpuset.h: add comments for public APIs 2018-03-08 11:33:50 -05:00
crc16.h util/crc16: add crc16 library support and unit tests 2017-12-20 15:12:26 -05:00
crc32.h include: wrap header files in extern "C" for c++ 2017-12-07 19:13:47 -05:00
endian.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
env.h scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
event.h lib: Return instead of exit in event 2018-03-08 11:47:01 -05:00
fd.h include/fd.h: add comments for pubclic APIs 2018-01-04 12:12:10 -05:00
gpt_spec.h bdev/gpt: dump partition name 2017-07-12 18:12:52 -04:00
histogram_data.h util: enable dynamic spdk_histogram_data sizing 2017-12-29 14:20:48 -05:00
io_channel.h io_channel: add return value to pollers 2018-03-13 11:16:20 -04:00
ioat_spec.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
ioat.h copy: return 0 on success and appropriate errno on failure 2017-09-25 13:56:29 -04:00
iscsi_spec.h iscsi: fix layout of logout request reason field 2017-09-22 16:11:11 -04:00
json.h json: add va_arg versions for write_string and write_named_string 2018-02-23 15:27:16 -05:00
jsonrpc.h jsonrpc: add spdk_jsonrpc_send_error_response_fmt 2018-02-23 15:27:16 -05:00
likely.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
log.h include: wrap header files in extern "C" for c++ 2017-12-07 19:13:47 -05:00
lvol.h bdev: Added functions allowing logical volume store rename. 2018-03-08 11:26:16 -05:00
mmio.h mmio: add functions for 1 and 2 byte I/O accesses 2017-10-13 10:46:00 -04:00
nbd.h include: wrap header files in extern "C" for c++ 2017-12-07 19:13:47 -05:00
net.h net, iscsi: add struct spdk_sock abstraction 2018-02-12 12:30:39 -05:00
nvme_intel.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
nvme_spec.h scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
nvme.h scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
nvmf_spec.h scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
nvmf.h include/nvmf.h: add comments for public APIs 2018-03-06 16:16:21 -05:00
pci_ids.h bdev/virtio: added vhost-blk initiator 2018-03-02 13:41:38 -05:00
queue_extras.h scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
queue.h Add extern "C" wrapper to all public headers 2016-02-12 07:52:35 -07:00
rpc.h include/rpc.h: add comments for public APIs 2018-03-05 11:07:56 -05:00
scsi_spec.h scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
scsi.h scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
sock.h sock: add sock_group abstraction 2018-02-13 19:25:22 -05:00
stdinc.h build: Automatically detect use of POSIX includes 2017-05-08 13:20:37 -07:00
string.h util: add spdk_mem_all_zero() function 2018-02-23 10:05:32 -05:00
trace.h lib: Return instead of exit in trace 2018-03-13 00:53:35 -04:00
util.h util: add spdk_u32_is_pow2() function 2017-08-11 19:36:30 -04:00
uuid.h util: add uuid.h to wrap libuuid 2018-03-08 10:49:51 -05:00
version.h version: v18.04-pre 2018-02-01 11:34:43 -05:00
vhost.h vhost: merge spdk_vhost_startup() into spdk_vhost_init() 2018-03-09 09:56:44 -05:00