summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_dev.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-02-11 21:24:25 +0000
committerphk <phk@FreeBSD.org>2003-02-11 21:24:25 +0000
commitef9a1b8601658ce1634b565848a04cb903f24aec (patch)
tree385fa6809fb1175034a78947101e2a185f5fd57b /sys/geom/geom_dev.c
parent9b781d6129abdf71a022410fbd4d55e1795e1599 (diff)
downloadFreeBSD-src-ef9a1b8601658ce1634b565848a04cb903f24aec.zip
FreeBSD-src-ef9a1b8601658ce1634b565848a04cb903f24aec.tar.gz
Advertise MAXPHYS upwards, we will split as necessary before we get to the
bottom of things.
Diffstat (limited to 'sys/geom/geom_dev.c')
-rw-r--r--sys/geom/geom_dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/geom_dev.c b/sys/geom/geom_dev.c
index fe3ad37..2bb3ac6 100644
--- a/sys/geom/geom_dev.c
+++ b/sys/geom/geom_dev.c
@@ -175,7 +175,7 @@ g_dev_taste(struct g_class *mp, struct g_provider *pp, int insist __unused)
dev->si_flags |= SI_CANDELETE;
mtx_unlock(&Giant);
g_topology_lock();
-
+ dev->si_iosize_max = MAXPHYS;
dev->si_stripesize = pp->stripesize;
dev->si_stripeoffset = pp->stripeoffset;
gp->softc = dev;
OpenPOWER on IntegriCloud