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

Return PR or PW lock mode for OPEN ibits lock for DoM files

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • 9223372036854775807

    Description

      In the current Lustre, an OPEN ibits lock returned to a client is mandatorily setting to specific lock mode:
      open mode lock mode

      • FMODE_WRITE CW
      • FMODE_EXEC PR
      • other CR

      For DoM files, it would better to return the corresponding DOM ibits lock together (combined) with OPEN ibits to a client during the open() or open-ahead(https://jira.whamcloud.com/browse/LU-16429) for the possible subsequent read or write, which can reduce extra lock traffic for DOM ibits lock.

      The client needs to handle for PW or PW OPEN ibits lock properly.

      Attachments

        Activity

          People

            wc-triage WC Triage
            qian_wc Qian Yingjin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: