+34
−27
Loading
Base bdev removal will be needed in upcoming patches but in most cases we will already have the struct raid_base_bdev_info pointer. Move out the actual removal logic into a new function for use in those cases. Change-Id: I2fbf0bd9cfcf8043dcc387f800874b735c2b0a5a Signed-off-by:Artur Paszkiewicz <artur.paszkiewicz@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/20818 Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com> Community-CI: Mellanox Build Bot