Re: Your ext2 optimisation for readdir+stat

From: Yusuf Goolamabbas (yusufg@outblaze.com)
Date: Mon Aug 20 2001 - 09:09:43 EST


> The patch won't work for the 2.2 kernels or 2.4 ext3, since it
> requires that the directories-in-page-cache change. It's
> theoretically possible to rewrite the change for the old-style
> ext2/3_find_entry code, but (a) the ext2_find_entry() function before
> it was modified to use the page cache is rather icky, and (b) I don't
> particularly care about 2.2 at this point.
>
> The only reason why I might try to do this work is if we really want
> this optimization in ext3 before we add support for putting
> directories in the page cache (which isn't going to happen before the
> ext3 1.0 release), but as I said, it would require messing with a
> complicated bit of code, and it's not high on my priority list at the
> moment.

I think it would be great to have this for ext3. Andrew Morton has done
a lot of work to make ext3 very usable for MTA applications.
Postfix/qmail use 'find' either in their control script or whilst
providing queue statistics. Your optimisations would greatly speed these
operations up. I believe tarring directory trees might also get a
speedup and maybe cvs operations

Regards, Yusuf

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



This archive was generated by hypermail 2b29 : Thu Aug 23 2001 - 21:00:35 EST