ea3a17fb55
Blobstore supports only block lengths that are less than SPDK_BS_PAGE_SIZE or when multiplication of block len results in SPDK_BS_PAGE_SIZE. This was checked only on spdk_bs_init(), but not spdk_bs_load(). When not checked, it caused issues with lvol store tasting. During tasting, there is an attempt to perform spdk_bs_load() on a given device. It was possible to hit asserts in blobstore by creating malloc with block size 8192. Change-Id: I30b62bebad405b581eb2158925884adc616d9b92 Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-on: https://review.gerrithub.io/404537 Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>