Spdk/lib
Jim Harris 8933ba2119 bdev/error: do not submit an I/O that will be failed
If error injection is enabled and we choose an I/O to
fail, do not submit the I/O and fail it when completed -
just fail it immediately.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: Ib58513f66e0df22c36137c0adb273fc31066c983

Reviewed-on: https://review.gerrithub.io/362386
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2017-05-25 13:53:06 -04:00
..
bdev bdev/error: do not submit an I/O that will be failed 2017-05-25 13:53:06 -04:00
blob bdev: make enum spdk_bdev_io_status private 2017-05-23 16:30:10 -04:00
blobfs io_channel: Remove unique flag 2017-05-22 19:27:17 -04:00
conf log: Use SPDK_ERRLOG in lieu of fprintf(stderr 2017-05-09 11:28:28 -07:00
copy io_channel: Remove unique flag 2017-05-22 19:27:17 -04:00
cunit include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
env_dpdk env: remove element size from spdk_ring_create 2017-05-25 13:52:49 -04:00
event env: remove element size from spdk_ring_create 2017-05-25 13:52:49 -04:00
ioat include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
iscsi iscsi: free mempools on exit 2017-05-25 13:52:09 -04:00
json include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
jsonrpc include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
log log: Use SPDK_ERRLOG in lieu of fprintf(stderr 2017-05-09 11:28:28 -07:00
net build: Automatically detect use of POSIX includes 2017-05-08 13:20:37 -07:00
nvme nvme/host: use spec-compliant PSDT value 01b 2017-05-23 17:10:50 -04:00
nvmf bdev: make enum spdk_bdev_io_status private 2017-05-23 16:30:10 -04:00
rpc include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
scsi scsi: fix scsi compliance issue for inquiry VPD NAA identifier 2017-05-24 11:51:00 -04:00
trace include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
util io_channel: Remove unique flag 2017-05-22 19:27:17 -04:00
vhost vhost: close remaining memory region FDs during backend cleanup 2017-05-24 11:53:47 -04:00
Makefile blobfs: Add a lightweight filesystem built on the blobstore 2017-03-24 14:15:45 -07:00