+61
−14
+34
−5
Loading
When adding a new base bdev to a raid bdev (currently only when creating a new raid bdev) make sure that there is no existing superblock stored on the base bdev. This prevents accidentally overwriting a base bdev belonging to a different raid array. Change-Id: Id5f6c7e3ed7223f6a8fc7455f75831fbbcac7e43 Signed-off-by:Artur Paszkiewicz <artur.paszkiewicz@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16164 Community-CI: Mellanox Build Bot Reviewed-by:
Jim Harris <jim.harris@samsung.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com>