numam-spdk/test/unit/lib
Pawel Wodkowski 4473942f46 bdev: replace tailq by arrays in base and vbdev linking
SPKD base bdev might be part of multiple vbdevs. The same is true in
reverse direction. So consider folowing scenario:

  bdev3  bdev4  bdev5
     |     |     |
   +-+--+  +  +--+--+
  /      \ | /       \
bdev0    bdev1      bdev2

In current implementation bdev0/1/2 will apear as base base for
bdev3/4/5 which is obviously wrong.
This patch try to address this issue.

Change-Id: Ic99c13c8656ceb597aba7e41ccb2fa8090b4f13b
Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Reviewed-on: https://review.gerrithub.io/405104
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2018-03-30 16:18:34 -04:00
..
bdev bdev: replace tailq by arrays in base and vbdev linking 2018-03-30 16:18:34 -04:00
blob test: move test_env.c under test/common/lib 2018-03-29 00:31:24 -04:00
blobfs test: move test_env.c under test/common/lib 2018-03-29 00:31:24 -04:00
event subsystem: add per module configuration dump 2018-03-23 02:47:40 -04:00
ioat test: use spdk.unittest.mk for ioat unit tests 2018-02-14 10:40:40 -05:00
iscsi iscsi: Change the type of some negotiation params from uint32_t to bool 2018-03-14 13:41:22 -04:00
json ut/json: add missing UT for int64/uint64 write 2018-02-20 13:05:36 -05:00
jsonrpc jsonrpc: allow send_buf to grow as needed 2018-02-15 11:03:54 -05:00
log test: use spdk.unittest.mk for event and log unit tests 2018-02-14 11:07:05 -05:00
lvol test: move test_env.c under test/common/lib 2018-03-29 00:31:24 -04:00
net net: create NET_MODULE for compiling different net_implementations 2018-03-15 17:54:29 -04:00
nvme test: move test_env.c under test/common/lib 2018-03-29 00:31:24 -04:00
nvmf nvmf: retrieve namespace UUID from bdev 2018-03-20 17:18:44 -04:00
scsi scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
util test: move ut_multithread.c to common/lib 2018-03-29 00:31:24 -04:00
vhost test: move test_env.c under test/common/lib 2018-03-29 00:31:24 -04:00
json_mock.c subsystem: add per module configuration dump 2018-03-23 02:47:40 -04:00
Makefile test: add spdk_sock unit tests 2018-02-12 12:30:39 -05:00