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

Open by handle and normal open results in incorrect ETXTBSY behavior

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Severity:
      3
    • Rank (Obsolete):
      9223372036854775807

      Description

      When a file is open by handle for write and then closed, attempts to exec from another node will fail with ETXTBSY, even though the file is not currently open for write.

      This is because the lock used by open by handle is a CW lock, so the close is not passed on to the MDS. The solution is to always pass the close on to the MDS when a file is open for write. Patch forthcoming.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: