Re: Ext2 defragmentation

Jamie Lokier (lkd@tantalophile.demon.co.uk)
Mon, 15 Nov 1999 22:31:19 +0100


Jamie Lokier wrote:
> > No. There are other operations (such as du -s ., search from midnight)
> > which have find-like access pattern. And you have no chance of getting
> > out of date.
>
> I have a dirent->d_type patch which I really should get on with
> submitting... Is anyone actually interested in it? It really speeds up
> this sort of operation. I have tested it with treescan.

Correction. It speeds up find / sorts of operation, but not du -s, as
the latter wants to read all the inodes. That's optimised by treescan
anyway, but d_type doesn't really help.

-- Jamie

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