Spdk/test
Dariusz Stojaczyk bfb73837de ut/bdev_mt: add test case for ENOMEM handling with multiple io targets
Bdev layer has been recently refactored to share
internal module channels for *all* bdevs of the
same bdev module. This makes us return ENOMEM for I/O
of one bdev if another bdev of the same module (nvme, split, etc)
is entirely saturated. This is not the behavior we want,
as these bdevs may not have anything in common.

This `issue` has been fixed just now, but to prevent
it coming back again lets add a unit test for it.

This test case creates two bdevs using two separate
io_devices and checks if ENOMEM handling is somehow common
for these two. It must not be.

Change-Id: Ic32ef4b4347b8856d4b9f91107e6f188ad67978e
Suggested-by: Ben Walker <benjamin.walker@intel.com>
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/409997
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
2018-05-09 18:19:06 +00:00
..
app bdev_svc: do not unaffinitize thread if core mask specified 2018-05-03 19:46:48 +00:00
bdev test/rbd: add configurable monitoring IP address for ceph 2018-04-17 13:55:44 -04:00
blobfs test/rocksdb: move nightly test case to RUN_NIGHTLY_FAILING. 2018-04-20 17:24:45 -04:00
blobstore autotest_common.sh: move to test/common 2018-02-27 20:37:27 -05:00
common autobuild: On FreeBSD, install the contigmem driver 2018-05-03 19:49:53 +00:00
cpp_headers build: add @: to remaining 'all' targets 2018-02-14 17:38:25 -05:00
env test: move lib/env up one level 2018-03-29 00:31:24 -04:00
event test: move lib/event up one directory 2018-03-29 00:31:24 -04:00
ioat ioat: remove ioat kperf kernel driver test harness 2018-04-30 17:11:53 +00:00
iscsi_tgt test/iscsi: disable hotremove tests 2018-05-09 18:19:06 +00:00
lvol test/lvol: make tests python3 compatible 2018-05-04 22:18:55 +00:00
nvme test/nvme/aer: add changed namespace list log test 2018-04-11 16:05:09 -04:00
nvmf lvol: add destroy_lvol_bdev RPC method 2018-04-24 21:33:56 +00:00
pmem test/pmem: add timing markers to pmem test 2018-04-23 20:10:22 +00:00
unit ut/bdev_mt: add test case for ENOMEM handling with multiple io targets 2018-05-09 18:19:06 +00:00
vhost test/vhost: remove unused virt-manager config file 2018-05-01 18:14:54 +00:00
Makefile test: move lib/json up to test app directory 2018-03-29 00:31:24 -04:00
spdk_cunit.h scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00