Spdk/examples
Ben Walker 991a56f85d fio: Continue polling spdk_threads on the init thread after shutdown
When fio wants to shut down a thread, it stops polling it immediately.
Some SPDK threads need to continue to be polled for a period of time
to allow the message passing to all complete, so this behavior in fio
could lead to a hang. Instead, when fio wants to shut down a thread,
place that thread onto a global list that's polled by the init thread
which lives for the duration of the program. The init thread will
continue polling the spdk_thread until it has exited.

Change-Id: I07292d5ba389167c45a14aa8ffbe72b49e88d17d
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3682
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: GangCao <gang.cao@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
2020-08-11 08:29:39 +00:00
..
accel examples/accel/perf: replace mempool of tasks with lists of tasks 2020-07-24 19:38:46 +00:00
bdev fio: Continue polling spdk_threads on the init thread after shutdown 2020-08-11 08:29:39 +00:00
blob make: Create variable for event_bdev dependencies 2020-07-08 07:56:46 +00:00
ioat test/ioat: ioat_perf app will exit with error code 2020-04-10 07:07:11 +00:00
nvme nvme/perf: Do not use IORING_SETUP_IOPOLL 2020-07-29 08:06:11 +00:00
nvmf make: Create variable for event_bdev dependencies 2020-07-08 07:56:46 +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