Hold associated core ID in io_target_group and use it later. This simplifies event calls in bdevperf because we don't need to get core ID from io_target. The next patch will delete g_coremap safely because io_target_group manages lcore correctly now. lcore of the struct io_target will be deleted too but it will be more later. The subsequent patches will move bdevperf from core based to thread based and the added core ID will be removed eventually in this patch series. However these changes are helpful even so. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Ia763a79bc3810a15485285aebb9fc15a8d48332f Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/478705 Community-CI: SPDK CI Jenkins <sys_sgci@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Seth Howell <seth.howell@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
.gitignore | ||
bdevperf.c | ||
bdevperf.py | ||
Makefile |