+10
−4
Loading
Don't write out strip size if it is not set, also skip the superblock field because its value is always false here. Don't just skip printing removed base bdevs because recreating a raid bdev from such config would result in a raid with a smaller number of base bdevs and different layout in case of raid5f. Creating a raid bdev with missing base bdevs is currently not possible, so make up a bdev name for a missing slot that will prevent from actually activating the raid. Signed-off-by:Artur Paszkiewicz <artur.paszkiewicz@intel.com> Change-Id: I58392b1e97a7ccb8a51559060bb6d4e303a7eee6 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/22749 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com> Reviewed-by:
Krzysztof Karas <krzysztof.karas@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com>