thread_get_pollers RPC which will be added in the upcoming patches will need to access all pollers each thread has. To avoid adding JSON related code into lib/thread/thread.c, expose struct spdk_thread internally among SPDK libraries and RPC code will access it. The next patch will expose struct spdk_poller internally among SPDK library for the same purpose. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I8da039db3021966ca1e28f6f086bb4c2a8eeb84a Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/973 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> |
||
---|---|---|
.. | ||
Makefile | ||
thread.c |