-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ut/vbdev_lvol: complete spdk_blob_get_num_clusters function
The number of blob clusters was not defined and the value of g_cluster_size was always 0. Consequently, assertion lvol->bdev->blockcnt == 20 * g_cluster_size / lvol->bdev->blocklen was trivially true (because lvol->bdev->blockcnt == g_cluster_size == 0). Change-Id: I3d0395af5c38f379dcfb3da52e3ef788c04da0d4 Signed-off-by: Pierre Bouvier <[email protected]> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/21208 Reviewed-by: Jim Harris <[email protected]> Reviewed-by: Konrad Sztyber <[email protected]> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <[email protected]>
- Loading branch information
Showing
1 changed file
with
26 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters