@mav: I looked into the problem again and the problem seems to be in linux running into a timeout
when it lstats the automounter part of the realpath() result. So it was not the many lookups that were
the problem, but the one lookup that timed out. Here is the relevant excerpt from strace, which shows
the 12sec hang:
14:56:51.25 lstat64("/net", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
14:56:51.25 lstat64("/net/xyz-server-01", <unfinished ...>
14:57:03.77 <... lstat64 resumed>) = -1 ENOENT (No such file or directory)
Ceterum censeo: realpath() has no value add in the file-open/save scenario that would be worth a
multi-second hang
Bookmarks