Loading
bdev/malloc: allocate bdev struct using regular calloc
spdk_dma_malloc() is not required here, as the bdev struct is neither DMA-able nor shared between processes. While here, also allocate mdisk->malloc_buf using spdk_zmalloc() instead of spdk_dma_zmalloc(), as spdk_dma_*malloc() is about to be deprecated. Change-Id: If835216764a565ade09180159fbbc92411b5c78f Signed-off-by:Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/450255 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com>