Advertise MAXPHYS upwards, we will split as necessary before we get to the

bottom of things.
This commit is contained in:
Poul-Henning Kamp 2003-02-11 21:24:25 +00:00
parent 99af707c39
commit 0364fe2cb3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=110728

View File

@ -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;