On Thu, 08 Jul 1999 08:36:19 +0800 
 Peter Wemm <pe...@netplex.com.au> wrote:

 > Out of curiosity, how does it handle the problem of small 512 byte
 > directories?  Does it consume a whole page or does it do something smarter?
 > Or does the ubc work apply to read/write only and the filesystem itself
 > continues to use the buffer cache interfaces for metadata and directories
 > still?  Does the caching part of the bio system still exist?

At the moment, only VREG is handled w/ UBC.  We plan on addressing that
in the future.

In the case of file system blocks smaller than a page size, multiple
blocks are read into the page.  In the case of small directories,
"we'll burn that bridge when we come to it" (i.e. when we attempt to
deal with non-VREG).

So, the caching part of the bio interface still exists for now (in part,
this helps us to use file systems which haven't yet been converted to
the UBC interface).

        -- Jason R. Thorpe <thor...@nas.nasa.gov>



To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to