+11
−3
+10
−0
+1
−1
+18
−0
+1
−0
Loading
Introduce spdk_bs_get_max_growable_size() in blobstore. This provides the maximum number of bytes a blobstore can grow upto, taking cluster size and metadata limits into account. We fail the grow request if bdev grows beyond the growable size. Most storage solution doesnt allow shrink so it's diffcult to get around this error without recreating lvs. expose max_growable_size from bdev_lvol_get_lvstores rpc. update jsonrpc documentation. Change-Id: I83e817c5ae340ebc99843e80a717d66f613a3639 Signed-off-by:Abhilash Shetty <abhilash.shetty@datacore.com> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/26416 Tested-by:
SPDK Automated Test System <spdkbot@gmail.com> Community-CI: Mellanox Build Bot Reviewed-by:
Jim Harris <jim.harris@nvidia.com> Reviewed-by:
Tomasz Zawadzki <tomasz@tzawadzki.com>