That's expected: ext2 performs linear searches through the directory,
and with 50 000 entries that's very slow.
I'm running a few quick tests, but I don't have a large enough spare
partition (~ 1GB?) for a full test.
How much main memory do you have, how large is your raid5 partition?
Could you try to reproduce the problem with fewer files and less main
memory?
I'm running your test with 48 MB ram, 12500 files, 9 processes in a 156
MB partition (swapoff, here is the test partition ;-).
With 192MB Ram I don't see the corruption.
-- Manfred - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/