http://bugs.winehq.org/show_bug.cgi?id=3817
------- Additional Comments From dmda@yandex.ru 2007-08-07 17:42 ------- What's about TTL approach? Say we have read a directory to lookup for a file. Next time we can check if the cache is not dirty by applyting TTL logic. If TTL is not expired, we can use cache, otherwise it's necessary to refill. Say with 2 seconds TTL, I'd expect great performance increase. As a bonus, we would not need to keep coherency at all. Nothing wrong if one process has created a file and another process doesn't see this for 2 seconds. The same is for file deletion/rename operations. The only thing needed is critical section that will isolate concurent access from different threads.