Subject: Re: Efficient way to import snapshots?

From: Florian Weimer <[email-masked]>
Date: Tue, 31 Jul 2007 09:54:54 +0200

* David Kastrup:

> a) one thread for opendir/readdir at every directory level
> b) one thread for stating the files in readdir order (more likely to
>    correspond to the disk layout than sorted order)

Not true for ext3.  You need to sort by the d_ino field.  This also
tends to be benefit other file systems more than readdir order.