xfs
[Top] [All Lists]

Re: XFS directory entries sort order

To: "Andi Kleen" <andi@xxxxxxxxxxxxxx>
Subject: Re: XFS directory entries sort order
From: "Barry Naujok" <bnaujok@xxxxxxx>
Date: Wed, 11 Jun 2008 10:04:56 +1000
Cc: dizzy <dizzy@xxxxxxxxx>, xfs@xxxxxxxxxxx
In-reply-to: <484F1541.7010203@firstfloor.org>
Organization: SGI
References: <200806101245.09950.dizzy@roedu.net> <87prqpp5q7.fsf@basil.nowhere.org> <op.ucj4nqkv3jf8g2@pc-bnaujok.melbourne.sgi.com> <484F1541.7010203@firstfloor.org>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Opera Mail/9.24 (Win32)
On Wed, 11 Jun 2008 09:58:57 +1000, Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:


readdir order is not dependant on the hashes. The order depends on the
order of files being created, unlinked and the length of the filenames
being unlinked/created.

Thanks for the correction. It's a long time that I read that source so it probably got confused with some other fs.

If I read the code correctly, in node-form directories, it will try and use the same data block that other names with the same hash are located in.

Barry.


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