+13
−0
+1
−2
+1
−1
Loading
When creating device with metadata, `block_size` means data block size without including metadata size, this is the same as Malloc device. Also check the input metadata size. Fix #3191. Change-Id: I8b64e0605de2e42ee053e749720f74706b623835 Signed-off-by:Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/20643 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Karol Latecki <karol.latecki@intel.com>