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

Support paths longer than PATH_MAX for fid2path

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0
    • Lustre 2.16.0
    • 3
    • 9223372036854775807

    Description

      PATH_MAX affects the path length of a single pathname, but it is possible to exceed this by eg. creating a subdirectory tree, then cd into it (or use as a subdirectory mountpoint), then create a deep tree below this using a relative pathname.

      So 'lfs fid2path' should not limit its output buffer to PATH_MAX.

      Attachments

        Issue Links

          Activity

            [LU-18082] Support paths longer than PATH_MAX for fid2path
            adilger Andreas Dilger made changes -
            Description Original: PATH_MAX affects the path length of a single pathname, but it is possible to exceed this by eg. creating a subdirectory tree, then cd into it, then create a deep tree below this using a relative pathname.

            So 'lfs fid2path' should not limit its output buffer to PATH_MAX.
            New: PATH_MAX affects the path length of a single pathname, but it is possible to exceed this by eg. creating a subdirectory tree, then cd into it (or use as a subdirectory mountpoint), then create a deep tree below this using a relative pathname.

            So 'lfs fid2path' should not limit its output buffer to PATH_MAX.
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.16.0 [ 15190 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-14719 [ LU-14719 ]
            sebastien Sebastien Buisson made changes -
            Link New: This issue is related to ATEMPO-15 [ ATEMPO-15 ]
            sebastien Sebastien Buisson created issue -

            People

              sebastien Sebastien Buisson
              sebastien Sebastien Buisson
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: