Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-12714 PCC Phase 2
  3. LU-14177

PCC: Invalidate PCC-RO cache when access from the old client

Details

    • Technical task
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • 9223372036854775807

    Description

      For the purpose of the compatibility and interoperability, we have already added a PCC-RO connection flag;
      To avoid inconsistent data access, MDT does not (try to) grant layout lock to the client at the time of getattr() or open(). when an old client without PCC-RO support requests a layout lock via intent request on the file that is in L.rdonly state on MDT, MDT needs to clear the L.rdonly flag on the layout first (this maybe invalidate all PCC-RO cached copies on clients), and then return the layout to the old client.

      Attachments

        Activity

          [LU-14177] PCC: Invalidate PCC-RO cache when access from the old client

          Yingjin Qian (qian@ddn.com) uploaded a new patch: https://review.whamcloud.com/40850
          Subject: LU-14177 pcc: clear PCC-RO cache for access from old client
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 7a5292b2053c8a306e035848167a0bde2110cd69

          gerrit Gerrit Updater added a comment - Yingjin Qian (qian@ddn.com) uploaded a new patch: https://review.whamcloud.com/40850 Subject: LU-14177 pcc: clear PCC-RO cache for access from old client Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 7a5292b2053c8a306e035848167a0bde2110cd69

          People

            qian_wc Qian Yingjin
            qian_wc Qian Yingjin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: