summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/raid_class.c
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2018-01-24 09:07:58 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2018-02-12 11:43:25 -0500
commit34e81f7a720d8a638f46b18b35678712dbafb42d (patch)
tree7949e42d704604fbc7779745888e4d75a71f301a /drivers/scsi/raid_class.c
parent2db6228d9cd13bc3bb83bf3436998ea82b0d56ae (diff)
downloadlinux-34e81f7a720d8a638f46b18b35678712dbafb42d.tar.gz
linux-34e81f7a720d8a638f46b18b35678712dbafb42d.tar.bz2
linux-34e81f7a720d8a638f46b18b35678712dbafb42d.zip
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>
Diffstat (limited to 'drivers/scsi/raid_class.c')
-rw-r--r--drivers/scsi/raid_class.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/raid_class.c b/drivers/scsi/raid_class.c
index 2c146b44d95f..ea88906d2cc5 100644
--- a/drivers/scsi/raid_class.c
+++ b/drivers/scsi/raid_class.c
@@ -157,6 +157,7 @@ static struct {
{ RAID_LEVEL_5, "raid5" },
{ RAID_LEVEL_50, "raid50" },
{ RAID_LEVEL_6, "raid6" },
+ { RAID_LEVEL_JBOD, "jbod" },
};
static const char *raid_level_name(enum raid_level level)