On Tue, 2007-06-05 at 21:32 +0200, Joerg Schilling wrote:
> Bill Sommerfeld <sommerfeld at sun.com> wrote:
>
> > On Mon, 2007-06-04 at 16:43 -0700, Matthew Ahrens wrote:
> > > This case will deliver a new filesystem version, which adds support for
> > > type information stored in directory entries. This is for compatability
> > > with other operating systems (eg, MacOS) which return this information
> > > in their stat structure.
> >
> > By any chance, is this the BSD feature which allows for faster
> > filesystem tree-walks by optionally returning type information
> > (directory vs non-directory vs. unsure) to directory readers in a new
> > "d_type" field in struct dirent, allowing them to *skip* potentially
> > expensive stat() operations on entries known to not be directories?
>
> How could expensive in-kernel operations avoided without extending the on-disk
> dir format also?
The text you quoted above:
"This case will deliver a new filesystem version, which adds
support for type information stored in directory entries."
answers your question.
- Bill