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

Open by handle does not work with unlinked files from multiple nodes

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.12.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      When doing open by handle, a requirement is that it be possible to open already open unlinked files. This is important for the sort of userspace NFS server/ i/o forwarder (DVS) uses that file handles are intended for.

      This works from one node in Lustre, but not across multiple nodes. This looks fixable - It's possible to open an orphaned file, it seems to be as simple as using the code from mdd_close in mdd_open, particularly rewriting the "EEXIST check" (mdd_is_dead_obj) to check if the object is an orphan and then open it anyway.

      Patch forthcoming.

      Attachments

        Issue Links

          Activity

            [LU-10337] Open by handle does not work with unlinked files from multiple nodes
            pjones Peter Jones added a comment -

            Landed for 2.12

            pjones Peter Jones added a comment - Landed for 2.12

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/30405/
            Subject: LU-10337 mdt: Allow open of open orphans
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 27c51b5623123ba3208569ecdef343f61646c7e4

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/30405/ Subject: LU-10337 mdt: Allow open of open orphans Project: fs/lustre-release Branch: master Current Patch Set: Commit: 27c51b5623123ba3208569ecdef343f61646c7e4

            Patrick Farrell (paf@cray.com) uploaded a new patch: https://review.whamcloud.com/30405
            Subject: LU-10337: Allow open of open orphans
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 2966421d86ea8442b38fee892607d3cfb606b262

            gerrit Gerrit Updater added a comment - Patrick Farrell (paf@cray.com) uploaded a new patch: https://review.whamcloud.com/30405 Subject: LU-10337 : Allow open of open orphans Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 2966421d86ea8442b38fee892607d3cfb606b262

            Patrick Farrell (paf@cray.com) uploaded a new patch: https://review.whamcloud.com/30404
            Subject: LU-10337: Allow open of open orphans
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: dc9defed32fd321b08b96c9a5956001371928b21

            gerrit Gerrit Updater added a comment - Patrick Farrell (paf@cray.com) uploaded a new patch: https://review.whamcloud.com/30404 Subject: LU-10337 : Allow open of open orphans Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: dc9defed32fd321b08b96c9a5956001371928b21

            People

              paf Patrick Farrell (Inactive)
              paf Patrick Farrell (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: