Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-10938 Metadata writeback cache support
  3. LU-16107

WBC: discard the cached subtrees under WBC when the client is evicted

Details

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

    Description

      When a client is evicted by a server, it will cancel all locks cached on the client lock namespace and all cached data will be discarded.

      In the original implementation, the client will flush the subtree level by level when the root WBC EX lock protected it is revoking.

      Instead, during the client eviction, when cancel a WBC EX lock (in the lock blocking callback), the client will discard the whole subtree protected this lock if the import of this lock is in EVICTED state.

      Attachments

        Activity

          [LU-16107] WBC: discard the cached subtrees under WBC when the client is evicted

          "Qian Yingjin <qian@ddn.com>" uploaded a new patch: https://review.whamcloud.com/48706
          Subject: LU-16107 wbc: close() after client eviction under WBC
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 8349093658046bb370d5bb59b54bb32be51c7db8

          gerrit Gerrit Updater added a comment - "Qian Yingjin <qian@ddn.com>" uploaded a new patch: https://review.whamcloud.com/48706 Subject: LU-16107 wbc: close() after client eviction under WBC Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 8349093658046bb370d5bb59b54bb32be51c7db8
          qian_wc Qian Yingjin added a comment - - edited

          "Yingjin Qian <qian@ddn.com>" uploaded a new patch: https://review.whamcloud.com/48436
          Subject: LU-16107 wbc: more tests about cache evicting under WBC 
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 7247aa1451c252c30db50b682622b91c72a6d21f

          qian_wc Qian Yingjin added a comment - - edited "Yingjin Qian <qian@ddn.com>" uploaded a new patch:  https://review.whamcloud.com/48436 Subject:  LU-16107 wbc: more tests about cache evicting under WBC  Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 7247aa1451c252c30db50b682622b91c72a6d21f

          "Yingjin Qian <qian@ddn.com>" uploaded a new patch: https://review.whamcloud.com/48347
          Subject: LU-16107 wbc: discard caches when the client is evicted
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 7247aa1451c252c30db50b682622b91c72a6d21f

          gerrit Gerrit Updater added a comment - "Yingjin Qian <qian@ddn.com>" uploaded a new patch: https://review.whamcloud.com/48347 Subject: LU-16107 wbc: discard caches when the client is evicted Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 7247aa1451c252c30db50b682622b91c72a6d21f

          People

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

            Dates

              Created:
              Updated: