Loading
ut/iscsi: Add UT for spdk_add_transfer_task (Sending R2Ts)
Currently R2Ts per connection are managed by an array outstanding_r2t_tasks and two tailqs active_r2t_tasks and queued_r2t_tasks. These are complex but there is no UT code for them. Added UTs are not perfect but it may be helpful to keep the quality and understand the implementation. Change-Id: I2a0d19d8888e7d3beb5918a1b82b657f4775e01a Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/418758 Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com>