+10
−16
Loading
The following patches will add option to spdk_bdev_desc and it will affect block size. As a preparation, change the first parameter of bdev_bytes_to_blocks from bdev pointer to desc pointer. Even before this patch, the caller used spdk_bdev_desc_get_bdev() as a function parameter. Hence, this is a good clean up. Signed-off-by:Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: I4b84351bce13b109c17b5477e2711ed632208178 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24628 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by:
Jim Harris <jim.harris@nvidia.com> Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>