Spdk/test/lib/bdev
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
..
bdevio scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
bdevperf io_channel: add return value to pollers 2018-03-13 11:16:20 -04:00
bdev.conf.in rpc: add default UNIX domain socket listen address 2017-11-13 14:57:49 -05:00
blockdev.sh autotest: add test completion tracking 2018-03-01 17:13:41 -05:00
common.c test/bdev: limit memory size to 1GB 2017-08-14 13:14:47 -04:00
Makefile nbd: remove nbd test app 2018-01-05 17:39:48 -05:00
nbd_common.sh test/bdev: move nbd_common.sh to main bdev test director 2018-02-14 11:07:05 -05:00