> Ehh.. I think it's kinda ugly, but this is what I came up with. > > It works well, though, and handles everything I throw at it. Its not as > simple as Christoph's suggestion to just go back to .iterate, which would > solve this in a simpler way. After many testings, I can't find any way this is faster than using the old .iterate serialized readdir. Additionally, at around 1M entries, this way frequently needs to oom-kill things. Using .iterate, that doesn't happen, and is much faster at that scale. Maybe my feeble brain is unable to think of the right workload to make .iterate_shared preferable for NFS. Suggestions welcome. Otherwise, I think serialized is the way to go. Ben -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html