diff options
author | mav <mav@FreeBSD.org> | 2011-03-24 21:31:32 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2011-03-24 21:31:32 +0000 |
commit | 8dab5b050118631ed065f01515a1e2617f8e98de (patch) | |
tree | c6d2c52832833705e8a109a4fd092aba4318585f /sys/modules | |
parent | a827838a1a97317dff1d1b709c70e63c7b4f2429 (diff) | |
download | FreeBSD-src-8dab5b050118631ed065f01515a1e2617f8e98de.zip FreeBSD-src-8dab5b050118631ed065f01515a1e2617f8e98de.tar.gz |
MFgraid/head:
Add new RAID GEOM class, that is going to replace ataraid(4) in supporting
various BIOS-based software RAIDs. Unlike ataraid(4) this implementation
does not depend on legacy ata(4) subsystem and can be used with any disk
drivers, including new CAM-based ones (ahci(4), siis(4), mvs(4), ata(4)
with `options ATA_CAM`). To make code more readable and extensible, this
implementation follows modular design, including core part and two sets
of modules, implementing support for different metadata formats and RAID
levels.
Support for such popular metadata formats is now implemented:
Intel, JMicron, NVIDIA, Promise (also used by AMD/ATI) and SiliconImage.
Such RAID levels are now supported:
RAID0, RAID1, RAID1E, RAID10, SINGLE, CONCAT.
For any all of these RAID levels and metadata formats this class supports
full cycle of volume operations: reading, writing, creation, deletion,
disk removal and insertion, rebuilding, dirty shutdown detection
and resynchronization, bad sector recovery, faulty disks tracking,
hot-spare disks. For Intel and Promise formats there is support multiple
volumes per disk set.
Look graid(8) manual page for additional details.
Co-authored by: imp
Sponsored by: Cisco Systems, Inc. and iXsystems, Inc.
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/geom/Makefile | 1 | ||||
-rw-r--r-- | sys/modules/geom/geom_raid/Makefile | 19 |
2 files changed, 20 insertions, 0 deletions
diff --git a/sys/modules/geom/Makefile b/sys/modules/geom/Makefile index 0b2e3e8..ca7d7e6 100644 --- a/sys/modules/geom/Makefile +++ b/sys/modules/geom/Makefile @@ -18,6 +18,7 @@ SUBDIR= geom_bde \ geom_nop \ geom_part \ geom_pc98 \ + geom_raid \ geom_raid3 \ geom_sched \ geom_shsec \ diff --git a/sys/modules/geom/geom_raid/Makefile b/sys/modules/geom/geom_raid/Makefile new file mode 100644 index 0000000..4487807 --- /dev/null +++ b/sys/modules/geom/geom_raid/Makefile @@ -0,0 +1,19 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../geom/raid + +KMOD= geom_raid +SRCS= g_raid.c +SRCS+= g_raid_ctl.c +SRCS+= bus_if.h device_if.h +SRCS+= g_raid_md_if.h g_raid_md_if.c +SRCS+= g_raid_tr_if.h g_raid_tr_if.c + +SRCS+= md_intel.c md_jmicron.c md_nvidia.c md_promise.c md_sii.c + +SRCS+= tr_concat.c tr_raid0.c tr_raid1.c tr_raid1e.c + +MFILES= kern/bus_if.m kern/device_if.m +MFILES+= geom/raid/g_raid_md_if.m geom/raid/g_raid_tr_if.m + +.include <bsd.kmod.mk> |