Spdk/lib/blob
yupeng 88833020eb blobstore: reserve space for growing blobstore
Reserve space for used_cluster bitmap. The reserved space is calculated
according to the num_md_pages. The reserved space would be used when
the blobstore is extended in the future.
Add the num_md_pages_per_cluster_ratio parameter to the
bdev_lvol_create_lvstore API. Then calculate the num_md_pages
according to the num_md_pages_per_cluster_ratio and bdev total size, then
pass the num_md_pages to the blobstore.

Signed-off-by: Peng Yu <yupeng0921@gmail.com>
Change-Id: I61a28a3c931227e0fd3e1ef6b145fc18a3657751
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9517
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2022-06-28 17:55:43 +00:00
..
blob_bs_dev.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
blobstore.c blobstore: reserve space for growing blobstore 2022-06-28 17:55:43 +00:00
blobstore.h Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
Makefile Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
request.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
request.h Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
spdk_blob.map blob: Add readv/writev_ext functions 2022-05-16 10:14:26 +00:00
zeroes.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00