numam-spdk/examples
Daniel Verkamp d9aed01ff0 nvme/fio_plugin: simplify getevents/event hooks
The previous implementation tried to maintain a ring buffer of completed
I/O retrieved from ->getevents() that had not yet been retrieved by
->event(), but this is not necessary.  None of the other FIO engines
implement this sort of ring buffer, and the only code that calls
->getevents() will always retrieve the full number of events via
->event() afterwards.

Instead, just count how many I/Os have been completed within each
->getevents() call in iocq_count, and reset iocq_count on each new
->getevents().

Change-Id: I2776c3a5c89a0d2b24478328bc138ff7a9fb5bdd
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
2017-03-17 09:37:42 -07:00
..
ioat env: Move DPDK intialization into the env library. 2017-02-15 17:16:37 -07:00
nvme nvme/fio_plugin: simplify getevents/event hooks 2017-03-17 09:37:42 -07:00
Makefile build: wrap $(CURDIR) relative paths in $(abspath) 2016-05-09 13:56:07 -07:00