bcfd6d0fb4
Previously when IO was sent to bdev, even without callback yet, status for task was set to SPDK_SCSI_STATUS_GOOD. This patch changes it so that it is only set when callback actually comesback from bdev via spdk_bdev_io_get_scsi_status(). Change-Id: I4a36ec345608257123e1036d31540f5f1090a23b Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-on: https://review.gerrithub.io/417708 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Seth Howell <seth.howell5141@gmail.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>