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

    XMLWordPrintable

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

          People

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

            Dates

              Created:
              Updated: