Spdk/test
Tomasz Zawadzki 7438c388a0 lib/event: fix tsc_last for first thread on reactor
tsc_last value is used to update thread stats
during _reactor_run(). See:
spdk_thread_poll(thread, 0, reactor->tsc_last);

If no threads were present on the reactor,
this value got outdated and resulted in
adding time reactor spent with no threads to
stats of the first thread placed on that reactor.

This patch fixes thread stats by making sure
that argument to spdk_thread_poll() is up to date.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: I0c35fdba1b63b6ee19a5a2b34751090839cb2438
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7845
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
2021-05-25 07:11:53 +00:00
..
accel_engine accel_engine test: Add the test case for accel_engine. 2021-01-21 15:49:40 +00:00
app event: Shift subsystem initialization code to a separate library 2021-05-24 10:12:50 +00:00
bdev event: Shift subsystem initialization code to a separate library 2021-05-24 10:12:50 +00:00
blobfs event: Shift subsystem initialization code to a separate library 2021-05-24 10:12:50 +00:00
blobstore scheduler: Change main core frequency dynamically 2021-01-22 18:31:25 +00:00
common pkgdep/git: Remove 20.01 release workarounds 2021-05-24 10:10:41 +00:00
compress test/nvmf: use recommended nvmf_create_subsystem rpc 2021-05-20 15:00:22 +00:00
config_converter scripts/config_converter: skip sections not present in legacy config 2021-01-15 08:32:10 +00:00
cpp_headers queue_extras: use SPDK_CONTAINEROF 2019-10-07 15:06:01 +00:00
dd autotest: Run dd tests under SPDK_TEST_URING 2021-05-20 15:15:33 +00:00
dpdk_memory_utility build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
env Revert "env: Register external memory with DPDK" 2021-04-15 20:22:26 +00:00
event event: Shift subsystem initialization code to a separate library 2021-05-24 10:12:50 +00:00
external_code event: Shift subsystem initialization code to a separate library 2021-05-24 10:12:50 +00:00
ftl scripts: replace PCI_WHITELIST with PCI_ALLOWED 2020-12-03 09:41:07 +00:00
fuzz test/iscsi: remove VPP tests 2020-08-17 08:19:46 +00:00
interrupt test: add functional test for reactor_set_intr 2021-04-29 07:10:26 +00:00
ioat build: Example applications build to build/example 2020-06-15 15:27:16 +00:00
iscsi_tgt bdev/rbd: Revise bdev_rbd_create rpc function. 2021-05-19 08:08:39 +00:00
json_config test/json_config: Fix json_config test fail for multiple nvme disk config 2021-05-18 12:44:35 +00:00
lvol test/lvol: rename lvol test script 2020-10-20 08:54:53 +00:00
make test/make: Ignore abidiff's exit status 2021-05-24 10:11:05 +00:00
nvme test/nvme: Simple Copy Command takes nlb as a 0's based value 2021-05-20 20:15:51 +00:00
nvmf test/nvmf: Rework the traps 2021-05-20 15:16:21 +00:00
ocf test: add bdev_wait_for_examine to static JSON configs 2021-05-13 10:07:07 +00:00
openstack test/openstack: Clean up the test 2021-05-24 09:58:17 +00:00
pmem build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
rpc autotest: Use rpc_cmd() for rpc plugin-based tests 2021-04-02 08:22:42 +00:00
rpc_client build: use DEPDIRS variables to build SPDK_LIB_LIST 2020-12-18 09:40:01 +00:00
rpc_plugins autotest: Use rpc_cmd() for rpc plugin-based tests 2021-04-02 08:22:42 +00:00
scheduler subsystem/nvmf: remove cpu_mask hint when creating poll group 2021-05-11 11:49:52 +00:00
setup test/setup: fix failure in allowed() when there is only one device 2021-04-27 08:36:35 +00:00
spdkcli autotest.sh: call rdma_device_init only for RDMA tests 2021-03-29 07:34:38 +00:00
unit lib/event: fix tsc_last for first thread on reactor 2021-05-25 07:11:53 +00:00
vhost test: add bdev_wait_for_examine to static JSON configs 2021-05-13 10:07:07 +00:00
vmd test: replace VMD_WHITELIST with VMD_ALLOWED 2020-12-03 09:41:07 +00:00
Makefile build: add option to disable building unit tests 2020-03-10 09:12:21 +00:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00