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

Add open_by_handle() syscall for Lustre clients

Details

    • New Feature
    • Resolution: Fixed
    • Minor
    • Lustre 2.6.0
    • None
    • 8271

    Description

      The open_by_handle_at() and name_to_handle() functions were added to Linux 2.6.38, and allow opening files by a file handle instead of path traversal. This may be useful for HPC applications to reduce loading on the metadata server from repeated path traversal.

      There is some chance this feature already works on Lustre, due to the re-use of the NFS exportfs_encode_fh() and exportfs_decode_fh() functions. This code needs a regression test in Lustre to verify it is working correctly, along with documentation in the user manual.

      Attachments

        Issue Links

          Activity

            [LU-3344] Add open_by_handle() syscall for Lustre clients
            adilger Andreas Dilger made changes -
            Labels Original: easy patch New: patch
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.6.0 [ 10595 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            pjones Peter Jones made changes -
            Assignee Original: Bobbie Lind [ bobbielind ] New: Jian Yu [ yujian ]
            pjones Peter Jones made changes -
            Assignee Original: WC Triage [ wc-triage ] New: Bobbie Lind [ bobbielind ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-3717 [ LU-3717 ]
            pjones Peter Jones made changes -
            Labels Original: easy New: easy patch
            adilger Andreas Dilger made changes -
            Labels New: easy
            adilger Andreas Dilger created issue -

            People

              yujian Jian Yu
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: