xfs
[Top] [All Lists]

how to increase speed to iterate all file's name in a XFS , about millio

To: linux-xfs@xxxxxxxxxxx
Subject: how to increase speed to iterate all file's name in a XFS , about million files.
From: hank peng <pengxihan@xxxxxxxxx>
Date: Wed, 29 Sep 2010 08:28:08 +0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=Q1rB/w15IjKnH7bpRkr+PwhqE6U4Yy82L2i5G0gGBmg=; b=dEwsKfyVUgL8lXIhh1msj6hvcK3BgbDGxyC4FyNRi/KjAYffGB9S94cxyzIVT2f/+M 9cHnUAcBvLt5HUmvoiyqtd81Vpu9OJDyHGzcTmV/gyRHwVP9jcVKwpfFErfOkYz57EKk 2WLSkgGD7YFvqgyArzBDgO6HO3MM4xnytIP5I=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=UqwfkcZCbDTzqGg+bcFa4QlAUWBQws4Cqlz7xYdEHtOjlSprMLWKv1586YZWlYqSz5 X7p32zylgzFZTnzrsOaU6UK1BqJRvKd7JFPI8cBpJ54d2zpsqdyAkv7Se8n0yuGRzbre JSOmFxpZOAuGSYVWtmRRn/iEKmKpdDqcBRdLA=
Hi:
I have a XFS file system which contains about million files in it. I
want to iterate all file's name using readdir function and I found
that a little time-consuming.
Anybody to suggest a way to increase its speed?

-- 
The simplest is not all best but the best is surely the simplest!

<Prev in Thread] Current Thread [Next in Thread>