scsi: raid_class: Add 'JBOD' RAID level

Not a real RAID level, but some HBAs support JBOD in addition to the
'classical' RAID levels.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
Hannes Reinecke 2018-01-24 09:07:58 +01:00 committed by Martin K. Petersen
parent 2db6228d9c
commit 34e81f7a72
2 changed files with 2 additions and 0 deletions

View file

@ -157,6 +157,7 @@ static struct {
{ RAID_LEVEL_5, "raid5" }, { RAID_LEVEL_5, "raid5" },
{ RAID_LEVEL_50, "raid50" }, { RAID_LEVEL_50, "raid50" },
{ RAID_LEVEL_6, "raid6" }, { RAID_LEVEL_6, "raid6" },
{ RAID_LEVEL_JBOD, "jbod" },
}; };
static const char *raid_level_name(enum raid_level level) static const char *raid_level_name(enum raid_level level)

View file

@ -38,6 +38,7 @@ enum raid_level {
RAID_LEVEL_5, RAID_LEVEL_5,
RAID_LEVEL_50, RAID_LEVEL_50,
RAID_LEVEL_6, RAID_LEVEL_6,
RAID_LEVEL_JBOD,
}; };
struct raid_data { struct raid_data {