Spdk/lib/bdev/split
Darek Stojaczyk 4d1894b3c4 bdev/part: use part_base as base desc remove ctx
Currently in the base bdev remove callback we don't
have access to anything but the spdk_bdev that's
being removed. Subsequent patches require the access
to more than that - e.g. some local metadata related
to that bdev.

By passing the part base object, we automatically get
access to e.g. spdk_bdev_part_base_get_ctx - a context
tightly associated with the part base, which can be
anything the upper layer (vbdev module) sets up.

Change-Id: Ifb99323978ef71ff6dd3b4ebf84fd21ef2920eb8
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/434834
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2018-11-28 22:51:30 +00:00
..
Makefile bdev: remove "v" prefix from vbdev library names 2018-11-01 21:25:55 +00:00
vbdev_split_rpc.c bdev/split: use bdev_part interface to get split names 2018-08-17 00:11:03 +00:00
vbdev_split.c bdev/part: use part_base as base desc remove ctx 2018-11-28 22:51:30 +00:00
vbdev_split.h bdev: Use not C++ style comments // but C-style comments /* */ 2018-10-31 22:01:47 +00:00