Loading
raid: fix checking base bdev blocklen when creating raid bdev
Don't use num_base_bdevs_discovered to check if a base bdev is the first one being configured - it can be set asynchronously after the superblock is loaded. Signed-off-by:Artur Paszkiewicz <artur.paszkiewicz@intel.com> Change-Id: Ic8018b2f1d284a092a5717b5848f8244749b4950 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/21677 Community-CI: Mellanox Build Bot Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>