Hi Eric, wow, thanks again. On Mi, 20 Jun 2012, Eric Sandeen wrote: > Hm. Upstream coreutils fixed this for rm and some other ops: Ok, I see. > sorted took 2.6s, unsorted took 52s. Got the idea, and tried it now myself not with ls etc, but with the program that generates the caos, and yes, stracing it gives the same result, getdents and the followed stats are all *not* in inode order. So that means, it should be fixed in glibc? Right? Ouuchhh... That means that this behaviour is for *each* program using getdent etc ... Do you have any suggestions? Is there a way to force readdir (I guess most people use readdir instead of getdents directly) to iterate in inode order? Best wishes Norbert ------------------------------------------------------------------------ Norbert Preining preining@{jaist.ac.jp, logic.at, debian.org} JAIST, Japan TeX Live & Debian Developer DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094 ------------------------------------------------------------------------ PABBY (n.,vb.) (Fencing term.) The play, or manoeuvre, where one swordsman leaps on to the table and pulls the battleaxe off the wall. --- Douglas Adams, The Meaning of Liff -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html