numam-spdk/app
Maciej Szwed 7ea417e5a3 spdk_top: Issue crash when pollers number changes
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
2020-07-01 07:54:03 +00:00
..
iscsi_tgt nvme/rdma: Use RDMA provider API to create/destroy qpair 2020-05-20 12:03:50 +00:00
iscsi_top build: Make spdk.app_cxx.mk work like spdk.app.mk 2020-05-29 15:43:45 +00:00
nvmf_tgt global: rename copy to accel 2020-02-18 08:05:34 +00:00
spdk_lspci lib/vmd: detach devices during shutdown 2020-02-04 16:50:25 +00:00
spdk_tgt global: rename copy to accel 2020-02-18 08:05:34 +00:00
spdk_top spdk_top: Issue crash when pollers number changes 2020-07-01 07:54:03 +00:00
trace build: Make spdk.app_cxx.mk work like spdk.app.mk 2020-05-29 15:43:45 +00:00
trace_record lib/trace: add trace_record tool 2019-01-30 06:36:25 +00:00
vhost global: rename copy to accel 2020-02-18 08:05:34 +00:00
Makefile app: Initial patch for spdk_top application 2020-04-22 09:17:14 +00:00