+8
−2
Loading
Root cause: We hit assert because we don't find previous poller run counter. This happens when new poller is created but 'last_run_counter' is not being initialized for that poller. Solution: Force running store_last_run_counter() (which inits last_run_counter) inside copy_pollers() by simulating page change by changing value of g_last_page and calling refresh_pollers_tab() again. Fixes issue #1436 Signed-off-by:Maciej Szwed <maciej.szwed@intel.com> Change-Id: I983154ba1f7a46a92cba41c83691f71be8ab40b0 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2847 Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot