Bill Sommerfeld 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?
Yes. > IMHO the larger feature is worth importing if we can figure out how to > make a compatible API/ABI change for it. Agreed, but that is outside the scope of this case. Once this case is integrated, exporting such an API would require no further on-disk format changes to ZFS. --matt
