numam-spdk/lib/util
GangCao 6d5c2d2bd1 io_channel: add the check for the existence of poller_fn
There existing some cases like in our UT code, the
start_poller_fn and stop_poller_fn is not configured.
Add a check here and properly handle these cases.

Change-Id: Iaac83d78547432584f6de0c54e9d2e06b9b35741
Signed-off-by: GangCao <gang.cao@intel.com>
Reviewed-on: https://review.gerrithub.io/392996
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2018-01-18 13:15:17 -05:00
..
bit_array.c env: Rename spdk_malloc/zmalloc/realloc/free to spdk_dma_(func) 2017-05-31 15:30:27 -04:00
crc16.c util/crc16: add crc16 library support and unit tests 2017-12-20 15:12:26 -05:00
crc32_ieee.c util: add CRC32 utility functions 2017-08-02 19:47:35 -04:00
crc32.c util: add CRC32 utility functions 2017-08-02 19:47:35 -04:00
crc32c.c util/crc32c: add SSE 4.2 CRC32 instruction support 2017-08-02 19:47:35 -04:00
fd.c util/fd: drop fallback from spdk_fd_get_blocklen() 2017-08-11 19:36:30 -04:00
io_channel.c io_channel: add the check for the existence of poller_fn 2018-01-18 13:15:17 -05:00
Makefile util: add spdk_strerror() wrapper with TLS support 2018-01-04 15:00:09 -05:00
strerror_tls.c util: add spdk_strerror() wrapper with TLS support 2018-01-04 15:00:09 -05:00
string.c util: make spdk_strerror_r() return void 2018-01-03 14:04:59 -05:00