Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Feb 2001 13:06:37 -0700
From:      "Justin T. Gibbs" <gibbs@scsiguy.com>
To:        Randell Jesup <rjesup@wgate.com>
Cc:        Matt Dillon <dillon@earth.backplane.com>, Matthew Jacob <mjacob@feral.com>, Mike Smith <msmith@FreeBSD.ORG>, Dag-Erling Smorgrav <des@ofug.org>, Dan Nelson <dnelson@emsphone.com>, Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp>, arch@FreeBSD.ORG
Subject:   Re: Bumping up {MAX,DFLT}*PHYS (was Re: Bumping up {MAX,DFL}*SIZ in i386) 
Message-ID:  <200102052006.f15K6bO49659@aslan.scsiguy.com>
In-Reply-To: Your message of "05 Feb 2001 12:30:50 EST." <ybuelxdnik5.fsf@jesup.eng.tvol.net.jesup.eng.tvol.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
>>    (2) Modify the 'struct buf' b_pages[] array to instead be a pointer
>>	to an array.  Include the original static array under another name
>>	for compatibility purposes and have the init code default to 
>>	assigning b_pages to the original embedded static array.
>>
>>	Then the physio code could be adjusted to dynamically MALLOC the
>>	necessary pages array if the static one in the supplied buffer is
>>	insufficient.
>
>        So, how reasonable is this?  It seems like a pretty good solution,
>but I'm far from up-to-speed on the internals here.

I'd rather allow bufs (or bios) to be chained and let the block devices
decide how to break them up.  This simplifies the clustering code too
as you avoid all of the VM operations to combine bufs into a single cluster
buf.

--
Justin


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102052006.f15K6bO49659>