Re: [Ext2-devel] Re: [RFC] ext2_new_block() behaviour

Alexander Viro (viro@math.psu.edu)
Thu, 4 Jan 2001 17:31:12 -0500 (EST)


On Thu, 4 Jan 2001, Stephen C. Tweedie wrote:

> The problem with directories is that they don't always grow rapidly
> like that. Spool directories are perfect examples of directories
> which grow sporadically over a long time, which is why we wanted
> persistent preallocation.

OK... It could be dealt with analog of defragmentation-on-write a-la *BSD,
but that's a different story. Oh, well... I still think that we would
benefit from doing normal prealloc for all objects, though. In addition
to persistent prealloc for directories, that is - the latter will become
faster and ext2_alloc_block() will become simpler.

BTW, what inumber do you want for whiteouts? IIRC, we decided to use
the same entry type as UFS does (14), but I don't remember what was
the decision on inumber. UFS uses 1 for them, is it OK with you?

Al, putting together fs patches for -bird...

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/