Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Dec 1999 13:52:46 -0500 (EST)
From:      Zhihui Zhang <zzhang@cs.binghamton.edu>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        freebsd-hackers@FreeBSD.ORG, freebsd-fs@FreeBSD.ORG
Subject:   Re: Why VMIO directory is a bad idea?
Message-ID:  <Pine.GSO.3.96.991210135054.10820A-100000@sol.cs.binghamton.edu>
In-Reply-To: <199912101907.LAA59861@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> :(3) Or maybe we can add a parameter to the filesytem, telling it to try to
> :preallocate some contiguous disk space for all directory files. I guess
> :that the cost per bit on disk is less than the cost per bit in memory.
> 
>     I believe the filesystem already does this.
> 

The FFS tries to allocate space contiguously for any type of file.  It
does not PRE-allocate disk space, which will result wasteage of disk space
if that space is not used later.

-Zhihui



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.991210135054.10820A-100000>