On Tue, May 09, 2006 at 04:01:53PM -0500, Al Hopper wrote: > > In the future, we may improve this by "joining" less-than-full ZAP > > blocks, or by simply special-casing "empty again" or "small again" > > directories and essentially automatically re-writing them in the most > > compact form. So far we haven't found this to be a pressing performance > > issue, so it isn't high on our priority list. > > Does this mean, that if I have a zfs filesystem that is > creating/writing/reading/deleting millions of short-lived files in a day, > that the directory area would keep growing? Or am I missing something?
No; it would just get as large as is needed to hold the maximum number of files the directory has ever held. UFS does the same thing. What he's proposing above is automatically shrinking the directory when it gets empty or "much smaller", which would fix this as well. Cheers, - jonathan -- Jonathan Adams, Solaris Kernel Development _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss