Spdk/examples
Shuhei Matsumoto 8b93c646ae example/nvmf: Support dynamic SPDK thread rescheduling
Add the flag, resched, to struct nvmf_lw_thread.

Add an new function nvmf_request_spdk_thread_reschedule() to set
the resched flag of the current thread to true.

nvmf_reactor_run() checks the resched flag and call
nvmf_schedule_spdk_thread() and clear it if it is true.

Enable the thread operation SPDK_THREAD_OP_RESCHED and add
nvmf_request_spdk_thread_reschedule() to the case of
SPDK_THREAD_OP_RESCHED in nvmf_reactor_thread_op().

Following patch will add repeated calls to spdk_thread_set_cpumask()
to exercise the feature.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I60a4213c139b3e6f16ccb7065dea34ffe760de13
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2541
Community-CI: Mellanox Build Bot
Community-CI: Broadcom CI
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
2020-05-27 07:35:11 +00:00
..
accel examples/accel_perf: Add CRC-32C workload type 2020-05-15 08:12:13 +00:00
bdev lib/thread: Wait until thread_is_exited() is true by thread_poll() after thread_exit() 2020-04-08 06:43:05 +00:00
blob examples/blob: skip '\0' when dump xattr's value 2020-04-09 08:08:07 +00:00
ioat test/ioat: ioat_perf app will exit with error code 2020-04-10 07:07:11 +00:00
nvme Change fio version to 3.19 2020-05-21 09:20:01 +00:00
nvmf example/nvmf: Support dynamic SPDK thread rescheduling 2020-05-27 07:35:11 +00:00
sock lib/thread: Use function name as poller name by using macro SPDK_POLLER_REGISTER 2020-04-15 07:23:09 +00:00
vmd lib/vmd: detach devices during shutdown 2020-02-04 16:50:25 +00:00
Makefile examples/accel/perf: perf tool using the accel framework 2020-03-16 08:45:13 +00:00