Spdk/examples
Dariusz Stojaczyk 8865e0bf51 fio_plugin: poll all remaining events on thread shutdown
There were unprocessed events in the event ring at the time
of destroying it's thread.

Polling until *done* flag is set is not sufficient. Since a single
fio_getevents call will poll only a single message, any
message positioned after the callback that sets the *done*
flag would not be processed.

Change-Id: I8fee384cb980373672bed4bc498f75774aa64a9e
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/385802
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2017-11-14 12:30:26 -05:00
..
bdev fio_plugin: poll all remaining events on thread shutdown 2017-11-14 12:30:26 -05:00
blob blobcli: add bstype to blobstore info 2017-10-29 16:06:29 -04:00
ioat env: Add a default value for mempool cache size 2017-08-17 16:55:55 -04:00
nvme nvme/perf: check if aio files exist while no NVMe controller found 2017-10-26 15:41:50 -04:00
Makefile examples: blobstore hello world 2017-08-11 13:17:11 -04:00