Spdk/examples
Tomasz Zawadzki 154eb3399a thread: add spdk_thread_is_idle()
This function add possibility to check if there are any scheduled operations
on particular thread.

Return from spdk_thread_poll() will be used as a way to load-balance and
signify if any work was performed during the single iteration.
A poller could return 0, but still be registered.

This helps especially in fio_plugin that only checked active_pollers or
messages via spdk_thread_poll().

Change-Id: Id6237278eb3b4bd4922b2abaa3c8ebd5e434d45d
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-on: https://review.gerrithub.io/c/445915
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
2019-03-01 21:38:02 +00:00
..
bdev thread: add spdk_thread_is_idle() 2019-03-01 21:38:02 +00:00
blob examples/blob: Replace atoll by spdk_strtoll 2019-01-29 17:39:18 +00:00
ioat ioat/perf: allow queue depths > 256 2019-02-20 16:41:46 +00:00
nvme nvme/hotplug: add ctrlr a timeout callback in hotplug example 2019-02-25 23:12:29 +00:00
sock examples/sock: Improve error check of input parsing by spdk_strtol 2019-01-29 17:39:18 +00:00
Makefile examples/sock/hello_sock: introduce sample application for libsock 2018-08-14 14:52:19 +00:00