Hi all, I was testing our fs project using the bonnie++ tool and the following issue came up. Bonnie++ creates a directory with 16384 files. Then it calls readdir in a loop to read all the entries and calls stat for each. The test fails since only 16383 entries were returned (one is missing). According to my logs our readdir calls filldir on the last item as well. Also strace says that all entries were returned. But the last one is missing. Moreover if I use ls -l on the same directory, all 16384 entries are returned. I don't know what is the difference between the readdir loop in bonnie++ and in ls, but I expect a similar loop. Perhaps using getdents direcly? Thanks for any suggestions, cheers, Tomas - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html