Spdk/module/bdev/raid
Artur Paszkiewicz e61c1c51be module/raid: check for existing superblock on a base_bdev
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>
2023-05-09 17:58:11 +08:00
..
bdev_raid_rpc.c module/raid: assemble raid bdev from superblock 2023-05-09 17:58:11 +08:00
bdev_raid_sb.c module/raid: assemble raid bdev from superblock 2023-05-09 17:58:11 +08:00
bdev_raid_sb.h module/raid: assemble raid bdev from superblock 2023-05-09 17:58:11 +08:00
bdev_raid.c module/raid: check for existing superblock on a base_bdev 2023-05-09 17:58:11 +08:00
bdev_raid.h module/raid: check for existing superblock on a base_bdev 2023-05-09 17:58:11 +08:00
concat.c module/raid: data offset and data size implementation 2023-05-09 17:58:11 +08:00
Makefile module/raid: write initial superblock 2023-05-09 17:58:11 +08:00
raid0.c module/raid: data offset and data size implementation 2023-05-09 17:58:11 +08:00
raid1.c raid1: read balancing 2023-05-09 17:58:11 +08:00
raid5f.c raid5f: degraded io support 2023-05-09 17:58:11 +08:00