Skip to contentSkip to conversation

dm mpath: add hp handler

PATCH In review Alasdair G Kergon 1 participant 1 message Oct 12, 2007

Subsystems (2)
lore
Share & tools
lore

Alasdair G Kergon

author maintainer
#0 lore raw

PATCH 22/25 dm mpath: add hp handler

From: Dave Wysochanski <[email protected]>

This patch adds the most basic dm-multipath hardware support for the HP active/passive arrays.

---
 drivers/md/Kconfig          |    6 +
 drivers/md/Makefile         |    2 
 drivers/md/dm-mpath-hp-sw.c |  206 ++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 214 insertions(+)
drivers/md/Kconfig +6 -0
Index: linux-2.6.23/drivers/md/Kconfig
===================================================================
@@ -267,6 +267,12 @@ config DM_MULTIPATH_RDAC
 	---help---
 	  Multipath support for LSI/Engenio RDAC.
 
+config DM_MULTIPATH_HP
+        tristate "HP MSA multipath support (EXPERIMENTAL)"
+        depends on DM_MULTIPATH && BLK_DEV_DM && EXPERIMENTAL
+        ---help---
+          Multipath support for HP MSA (Active/Passive) series hardware.
+
 config DM_DELAY
 	tristate "I/O delaying target (EXPERIMENTAL)"
 	depends on BLK_DEV_DM && EXPERIMENTAL
drivers/md/Makefile +2 -0
Index: linux-2.6.23/drivers/md/Makefile
===================================================================
@@ -8,6 +8,7 @@ dm-multipath-objs := dm-hw-handler.o dm-
 dm-snapshot-objs := dm-snap.o dm-exception-store.o
 dm-mirror-objs	:= dm-log.o dm-raid1.o
 dm-rdac-objs	:= dm-mpath-rdac.o
+dm-hp-sw-objs	:= dm-mpath-hp-sw.o
 md-mod-objs     := md.o bitmap.o
 raid456-objs	:= raid5.o raid6algos.o raid6recov.o raid6tables.o \
 		   raid6int1.o raid6int2.o raid6int4.o \
@@ -35,6 +36,7 @@ obj-$(CONFIG_DM_CRYPT)		+= dm-crypt.o
 obj-$(CONFIG_DM_DELAY)		+= dm-delay.o
 obj-$(CONFIG_DM_MULTIPATH)	+= dm-multipath.o dm-round-robin.o
 obj-$(CONFIG_DM_MULTIPATH_EMC)	+= dm-emc.o
+obj-$(CONFIG_DM_MULTIPATH_HP)	+= dm-hp-sw.o
 obj-$(CONFIG_DM_MULTIPATH_RDAC)	+= dm-rdac.o
 obj-$(CONFIG_DM_SNAPSHOT)	+= dm-snapshot.o
 obj-$(CONFIG_DM_MIRROR)		+= dm-mirror.o
drivers/md/dm-mpath-hp-sw.c new file +206 -0

206 lines not on this page · raw message