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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Lustre 2.12.0
    • Labels:
      None
    • Severity:
      3
    • Rank (Obsolete):
      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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: