+2
−37
Loading
Releasing an extpage with all-zero entries is unnecessary: 1. It increases code complexity and may race with cluster allocation. 2. The space usage of extpages is negligible: at most 1/512k, while blobstore already reserves 1/1k for mdpages. 3. extpage will be released when bdev_lvol_delete. This change simplifies metadata management without affecting space usage. Change-Id: I8f6a8fcf8bf35a9d2f04346f7ee4932814c1f666 Signed-off-by:Yalong Wang <yalong9@staff.sina.com.cn> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/26682 Community-CI: Mellanox Build Bot Reviewed-by:
GangCao <gang.cao@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz@tzawadzki.com> Reviewed-by:
Jim Harris <jim.harris@nvidia.com> Tested-by:
SPDK Automated Test System <spdkbot@gmail.com>