summaryrefslogtreecommitdiffstats
path: root/sys/geom
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2006-01-30 22:45:43 +0000
committerpjd <pjd@FreeBSD.org>2006-01-30 22:45:43 +0000
commit1fe475315358198e03ad346e28e5a2d087aa5264 (patch)
treed5d70850927fbdacb15436d53fd38c98680f7273 /sys/geom
parent7c6b3706d9b6a4cf7641ce2292a05f01313ab37f (diff)
downloadFreeBSD-src-1fe475315358198e03ad346e28e5a2d087aa5264.zip
FreeBSD-src-1fe475315358198e03ad346e28e5a2d087aa5264.tar.gz
Fix typo which cased that 64kB elements limit was not set properly and
16kB elements limit wasn't set at all. Submitted by: Vsevolod Lobko <seva@ip.net.ua> MFC after: 3 days
Diffstat (limited to 'sys/geom')
-rw-r--r--sys/geom/raid3/g_raid3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/raid3/g_raid3.c b/sys/geom/raid3/g_raid3.c
index 4cdb409..6cf7fbd 100644
--- a/sys/geom/raid3/g_raid3.c
+++ b/sys/geom/raid3/g_raid3.c
@@ -2819,7 +2819,7 @@ g_raid3_create(struct g_class *mp, const struct g_raid3_metadata *md)
uma_zone_set_max(sc->sc_zone_64k, g_raid3_n64k);
sc->sc_zone_16k = uma_zcreate("gr3:16k", 16384, NULL, NULL, NULL, NULL,
UMA_ALIGN_PTR, 0);
- uma_zone_set_max(sc->sc_zone_64k, g_raid3_n16k);
+ uma_zone_set_max(sc->sc_zone_16k, g_raid3_n16k);
sc->sc_zone_4k = uma_zcreate("gr3:4k", 4096, NULL, NULL, NULL, NULL,
UMA_ALIGN_PTR, 0);
uma_zone_set_max(sc->sc_zone_4k, g_raid3_n4k);
OpenPOWER on IntegriCloud