bc08958b6a
Add struct io_target_group and chain associated io_targets to it. Particularly, replace current target->next pointer by TAILQ, pass not the head io_target pointer but the io_target_group pointer to event call, and use TAILQ_INSERT_HEAD() in bdevperf_construct_target() to keep the current ordering. Besides, add pointer to the queued io_target_group to struct io_target to use it later. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Ib37db825a863f7795c55c19fae0d38efd80c607e Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/478563 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>