This patch could prevent the potential coredump of accessing rte_mempool among multiple threads. We allocate the tasks from the beginning. BTW, this patch also refactors the bdevperf to remove dpdk dependency Change-Id: I841e6c8b43276923acaf6686377741c37e2e71ec Signed-off-by: Ziye Yang <optimistyzy@gmail.com> Reviewed-on: https://review.gerrithub.io/387871 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> |
||
---|---|---|
.. | ||
bdev | ||
blobfs | ||
env | ||
event | ||
ioat | ||
json | ||
nvme | ||
Makefile | ||
test_env.c | ||
ut_multithread.c |