This is a bit of a workaround for some upcoming changes where bdev subsystem initialization will not wait for all vbdevs to finish tasting all bdevs that are registered. We need to allow those vbdevs to clean up after themselves after doing their initial tasting, before we start the unit tests, since the unit tests are blocking and won't return to the reactor loop to allow asynchronous tasting I/O to get returned to the vbdev modules. Eventually we should consider modifying bdevio run asynchronously, maybe including removing its use of CUnit for test reporting. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I6c425dd2711ce06fb6df1678f08294d6228c9ae4 Reviewed-on: https://review.gerrithub.io/368616 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> |
||
---|---|---|
.. | ||
.gitignore | ||
bdevio.c | ||
Makefile |