+64
−37
Loading
If any child I/O failed, we should set the status of the SCSI task to failed and stop further split processing. However, ctx->count meant number of outstanding children I/Os. We could not stop further split processing. We updated the status of the SCSI task only if child I/O submission failed. Fix these in this patch. Verify the changes by refining unit tests except for error cases. This idea was derived from the splitting process of the generic bdev layer. Signed-off-by:Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: Ifc74c09c349567b0311fe2a7435a5452d4c68251 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19437 Reviewed-by:
Jim Harris <jim.harris@samsung.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot