Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
None
-
9223372036854775807
Description
llapi_search_fsname() uses to determine the mountpoint of a path and then return its fsname.
realpath() executes lstat() for each component of the path: this means that the client must have a LDLM read lock on every directory in the path.
These operations can be slow when some clients modify parent directories.
We can use st_dev or llapi_get_name to reduce the number of stats.