numam-spdk/test
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
..
app test: move lib/json up to test app directory 2018-03-29 00:31:24 -04:00
bdev test: move the bdev directory up one level 2018-03-23 19:45:09 -04:00
blobfs test: move test/lib/blobfs under test/blobfs 2018-03-23 19:45:09 -04:00
blobstore autotest_common.sh: move to test/common 2018-02-27 20:37:27 -05:00
common test: move ut_multithread.c to common/lib 2018-03-29 00:31:24 -04: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 test: move lib/ioat up one directory 2018-03-27 00:46:52 -04:00
iscsi_tgt test/iscsi: use iSCSI configuration instead of hard coded values 2018-03-29 01:25:00 -04:00
lvol pep8: fix E305 (2 blank lines after functions) 2018-03-27 00:59:37 -04:00
nvme test: move lib/nvme up one directory 2018-03-27 00:46:52 -04:00
nvmf test: move lib/nvme up one directory 2018-03-27 00:46:52 -04:00
pmem autotest: add test completion tracking 2018-03-01 17:13:41 -05:00
unit bdev: replace tailq by arrays in base and vbdev linking 2018-03-30 16:18:34 -04:00
vhost pep8: fix E305 (2 blank lines after functions) 2018-03-27 00:59:37 -04: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