+20
−10
Loading
This is another preparation to extende spdk_thread_poll() to update thread stats correctly on multiple SPDK threads per CPU core configuration as an new function spdk_thread_poll_ext(). As another preparation, factor out main loops of spdk_thread_poll() to _spdk_thread_poll(). _spdk_thread_poll() will be called in spdk_thread_poll_ext() in the next patch. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Ie006359c00afc2e9b90e15f918f76cf1af0b7ce1 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1255 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Paul Luse <paul.e.luse@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>