Factor out block count calculation of raid0 bdev into a helper function raid0_calculate_blockcnt(). This helper function will be used to support resize in the following patches. Signed-off-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: Ie99d8686897f1249f48ef8985cb1c8347028fccf Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16283 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
bdev_raid_rpc.c | ||
bdev_raid.c | ||
bdev_raid.h | ||
concat.c | ||
Makefile | ||
raid0.c | ||
raid1.c | ||
raid5f.c |