aboutsummaryrefslogtreecommitdiff
path: root/sys/geom/geom_dev.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2003-02-11 21:24:25 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2003-02-11 21:24:25 +0000
commit0364fe2cb39b225a195941a48b2c4912d94a93de (patch)
tree385fa6809fb1175034a78947101e2a185f5fd57b /sys/geom/geom_dev.c
parent99af707c394f6fe3b202ea4356c44d1c891e9007 (diff)
downloadsrc-0364fe2cb39b225a195941a48b2c4912d94a93de.tar.gz
src-0364fe2cb39b225a195941a48b2c4912d94a93de.zip
Advertise MAXPHYS upwards, we will split as necessary before we get to the
bottom of things.
Notes
Notes: svn path=/head/; revision=110728
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 fe3ad3765249..2bb3ac6823bc 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;