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

Open by handle and normal open results in incorrect ETXTBSY behavior

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • None
    • None
    • 3
    • 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

              paf Patrick Farrell
              paf Patrick Farrell
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: