numam-spdk/include
Shuhei Matsumoto cf95d4a24f sock: Fix return value of spdk_sock_group_poll to return number of events
spdk_sock_group_poll() and spdk_sock_group_poll_count() had returned
0 on success. The implementation didn't match the specification
described in the header file, and couldn't be used to collect stats
correctly because 0 means idle.

This patch fixes the return value of spdk_sock_group_poll() and
spdk_sock_group_poll_count() to return number of events and
the callers not to overwrite the return value by 0.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I7e2a17187fc74ea44d3acf2f35d63f5e5a254eda
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/463710
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2019-08-02 00:19:43 +00:00
..
linux vhost-blk: add discard/write zeroes commands support 2019-01-12 03:14:48 +00:00
spdk sock: Fix return value of spdk_sock_group_poll to return number of events 2019-08-02 00:19:43 +00:00
spdk_internal sock: Add the socket priority setting function. 2019-07-18 04:09:37 +00:00
Makefile Makefile: Add possibility to uninstall spdk. 2019-05-16 20:56:18 +00:00