Spdk/include/spdk_internal
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
..
assert.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
bdev.h bdev: replace tailq by arrays in base and vbdev linking 2018-03-30 16:18:34 -04:00
copy_engine.h scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
event.h event: allow subsystem to write configuration in async way 2018-03-27 02:57:28 -04:00
log.h log: rename SPDK_TRACE_* to SPDK_LOG_* 2017-12-07 12:23:19 -05:00
lvolstore.h lvol: remove num_clusters member from spdk_lvol 2018-03-23 04:02:13 -04:00
mock.h mock: mark wrappers "used" so LTO will keep them 2018-01-25 14:21:02 -05:00
sock.h net/sock: separate sock.c from posix related functions 2018-03-14 13:08:09 -04:00
utf.h utf.h: remove #include "spdk/json.h" 2018-01-31 14:37:16 -05:00
virtio.h virtio: remove g_virtio_driver 2018-03-27 00:58:14 -04:00