By default g_governor is now NULL. It can be set either by event framework or schedulers directly. Dynamic_scheduler and gscheduler specifically want to use the dpdk_governor, so their initialization now sets it explicitly. To unset and deinitialize current governor, _spdk_governor_set(NULL) has to be called. This results in moving governor deinitalization to that call too. The "default" governor has been removed. Every spdk_governor callback is now mandatory. Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: Ibf76bd28bfbb159416026996fa217bb3325a3d31 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8810 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@gmail.com> |
||
---|---|---|
.. | ||
Makefile | ||
reactor_ut.c |