Spdk/test/unit/lib
Tomasz Zawadzki bcfd6d0fb4 scsi: only set SPDK_SCSI_STATUS_GOOD on bdev callback
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>
2018-07-06 21:22:43 +00:00
..
bdev bdev: split examine into two parts 2018-07-06 21:12:53 +00:00
blob blob_ut: fix bs_dev_common for dev blocklen != SPDK_BS_PAGE SIZE 2018-07-03 22:51:04 +00:00
blobfs thread: Replace #include of io_channel.h with thread.h 2018-06-12 15:24:07 +00:00
event subsystem: add per module configuration dump 2018-03-23 02:47:40 -04:00
ioat ut/ioat: drop legacy mocks 2018-07-03 16:29:42 +00:00
iscsi ut/iscsi: Add unit test for residual count of SCSI Check Condition 2018-07-06 21:17:29 +00:00
json test: forbid use of CU_ASSERT_FATAL 2018-07-06 18:35:03 +00:00
jsonrpc jsonrpc: allow send_buf to grow as needed 2018-02-15 11:03:54 -05:00
log rpc.py: remove references of "debug" trace flag 2018-04-25 17:31:28 +00:00
lvol blobstore: add decouple parent function 2018-06-21 22:50:03 +00:00
nvme test: forbid use of CU_ASSERT_FATAL 2018-07-06 18:35:03 +00:00
nvmf nvmf: Keep a list of qpairs per poll group 2018-06-20 22:07:24 +00:00
scsi scsi: only set SPDK_SCSI_STATUS_GOOD on bdev callback 2018-07-06 21:22:43 +00:00
sock net: split sock abstraction into lib/sock 2018-06-22 17:09:57 +00:00
thread test: Move poller test to the thread unit test 2018-07-02 19:12:45 +00:00
util thread: Move threading abstraction code out of util 2018-06-12 15:24:07 +00:00
vhost ut/vhost: remove backend-specific tests 2018-07-03 22:18:57 +00:00
json_mock.c subsystem: add per module configuration dump 2018-03-23 02:47:40 -04:00
Makefile net: split sock abstraction into lib/sock 2018-06-22 17:09:57 +00:00