summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjordan <jordan@openbsd.org>2009-06-17 23:13:36 +0000
committerjordan <jordan@openbsd.org>2009-06-17 23:13:36 +0000
commit38c484a140a0caf77dd211cb97cb900692ec3bba (patch)
treea56b8727ec45f59064d4ed80cad0a8262c983c9e
parentDocument raid 4 & 5 (diff)
downloadwireguard-openbsd-38c484a140a0caf77dd211cb97cb900692ec3bba.tar.xz
wireguard-openbsd-38c484a140a0caf77dd211cb97cb900692ec3bba.zip
Enabled EXPERIMENTAL RAID4/5 discipline
ok marco@
-rw-r--r--sys/dev/softraid.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c
index 5801de07fd1..5e92486d0c3 100644
--- a/sys/dev/softraid.c
+++ b/sys/dev/softraid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid.c,v 1.152 2009/06/17 22:44:42 marco Exp $ */
+/* $OpenBSD: softraid.c,v 1.153 2009/06/17 23:13:36 jordan Exp $ */
/*
* Copyright (c) 2007 Marco Peereboom <marco@peereboom.us>
* Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org>
@@ -2109,7 +2109,6 @@ sr_ioctl_createraid(struct sr_softc *sc, struct bioc_createraid *bc, int user)
strlcpy(sd->sd_name, "RAID 1", sizeof(sd->sd_name));
vol_size = ch_entry->src_meta.scmi.scm_coerced_size;
break;
-#ifdef not_yet
case 4:
case 5:
if (no_chunk < 3)
@@ -2130,7 +2129,6 @@ sr_ioctl_createraid(struct sr_softc *sc, struct bioc_createraid *bc, int user)
(ch_entry->src_meta.scmi.scm_coerced_size &
~((strip_size >> DEV_BSHIFT) - 1)) * (no_chunk - 1);
break;
-#endif /* not_yet */
#ifdef AOE
#ifdef not_yet
case 'A':