+114
−113
Loading
blob_ut has a lot of places hardcoded with 4096, mostly used for data payload operations. These are replaced with BLOCKLEN macro. It is similar to DEV_BUFFER_BLOCKLEN, but in shortened form. This is the first patch of the series where metadata support will be added to blobstore for large IU devices. Currently SPDK blobstore depends on 4KB atomicity of metadata. So, Metadata page size will be made variable based on the physical block size reported by the underlying device. This will enable blobstore to store metadata in IU-sized chunks, not always 4KB. Change-Id: I9fb166a32b78b43ecd1db752c24835cee441e665 Signed-off-by:Atul Malakar <a.malakar@samsung.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25023 Reviewed-by:
Jim Harris <jim.harris@samsung.com> Community-CI: Mellanox Build Bot Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com>