b74b6133fa
Removing dependency on schedulers to directly modify lw_thread field structures will help making schedulers truly plugable. Instead of using lw_thread, new structure is created that holds copy of stats and refer to the thread by spdk_thread id. As an added benefit of not changing lw_thread directly, we won't run into issue of balancing function changing it while other reactor removes and frees it. In the future an API will be added for scheduler to call in order to move the thread directly. Rather than for event framework to rely on modified core_info/thread_info structure. Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: I8f85bb8dc080fd13b78b07ee9ef8e8be7051659b Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8411 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
linux | ||
spdk | ||
spdk_internal | ||
Makefile |