4d1894b3c4
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>