Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-15833

Don't use realpath in llapi_search_fsname.

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0, Lustre 2.15.3
    • 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.

      Attachments

        Activity

          People

            eaujames Etienne Aujames
            eaujames Etienne Aujames
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: