diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2009-08-09 12:47:24 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2009-08-09 12:47:24 +0000 |
commit | 1778e353edc65e9ea30f24d9341dfad10dcd57d9 (patch) | |
tree | 05f3f9658bab709b43e1b98049fab0c1b7aa3716 /sys/conf | |
parent | f39d463c083bc9393fe45f5cccf828cd7d8ae8ce (diff) |
add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).
this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.
it is going in so i can work on it in the tree.
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/GENERIC | 5 | ||||
-rw-r--r-- | sys/conf/files | 7 |
2 files changed, 10 insertions, 2 deletions
diff --git a/sys/conf/GENERIC b/sys/conf/GENERIC index f9522c6c0a6..884da3191bf 100644 --- a/sys/conf/GENERIC +++ b/sys/conf/GENERIC @@ -1,4 +1,4 @@ -# $OpenBSD: GENERIC,v 1.145 2009/06/03 14:45:54 jj Exp $ +# $OpenBSD: GENERIC,v 1.146 2009/08/09 12:47:23 dlg Exp $ # # Machine-independent option; used by all architectures for their # GENERIC kernel @@ -64,6 +64,9 @@ option PPP_DEFLATE option MROUTING # Multicast router #option PIM # Protocol Independent Multicast +#mpath0 at root # SCSI Multipathing +#scsibus* at mpath? + softraid0 at root # Software RAID scsibus* at softraid? diff --git a/sys/conf/files b/sys/conf/files index 83c1e1d5028..90f9e43b00b 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -1,4 +1,4 @@ -# $OpenBSD: files,v 1.468 2009/07/23 15:15:25 jordan Exp $ +# $OpenBSD: files,v 1.469 2009/08/09 12:47:23 dlg Exp $ # $NetBSD: files,v 1.87 1996/05/19 17:17:50 jonathan Exp $ # @(#)files.newconf 7.5 (Berkeley) 5/10/93 @@ -449,6 +449,11 @@ device vscsi: scsi attach vscsi at root file dev/vscsi.c vscsi needs-flag +# SCSI Multipathing +device mpath: scsi +attach mpath at root +file scsi/mpath.c mpath needs-flag + # Software RAID device softraid: scsi attach softraid at root |