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

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

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

          [LU-16538] Return PR or PW lock mode for OPEN ibits lock for DoM files

          "Qian Yingjin <qian@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50018
          Subject: LU-16538 mdt: reserve connect flag for open lock modes
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: ccbb70172571a1bdb8096781492b7cc213680a08

          gerrit Gerrit Updater added a comment - "Qian Yingjin <qian@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50018 Subject: LU-16538 mdt: reserve connect flag for open lock modes Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: ccbb70172571a1bdb8096781492b7cc213680a08

          "Qian Yingjin <qian@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50006
          Subject: LU-16538 dom: return PR or PW mode lock with OPEN|DOM bits
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 6748459a9b97569bd106571b777bdcaee2f04383

          gerrit Gerrit Updater added a comment - "Qian Yingjin <qian@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50006 Subject: LU-16538 dom: return PR or PW mode lock with OPEN|DOM bits Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 6748459a9b97569bd106571b777bdcaee2f04383

          "Qian Yingjin <qian@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49997
          Subject: LU-16538 llite: use lock flags to distingush OPEN ibits lock
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 8a6a2a20e3a9af99949354983cdd888fa9d72610

          gerrit Gerrit Updater added a comment - "Qian Yingjin <qian@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49997 Subject: LU-16538 llite: use lock flags to distingush OPEN ibits lock Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 8a6a2a20e3a9af99949354983cdd888fa9d72610

          People

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

            Dates

              Created:
              Updated: