Metadata writeback cache support (LU-10938)

[LU-16107] WBC: discard the cached subtrees under WBC when the client is evicted Created: 26/Aug/22  Updated: 15/Feb/23

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Technical task Priority: Minor
Reporter: Qian Yingjin Assignee: Qian Yingjin
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Related
Rank (Obsolete): 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.



 Comments   
Comment by Gerrit Updater [ 26/Aug/22 ]

"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

Comment by Qian Yingjin [ 06/Sep/22 ]

"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

Comment by Gerrit Updater [ 30/Sep/22 ]

"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

Generated at Sat Feb 10 03:24:04 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.