PCC Phase 2 (LU-12714)

[LU-14177] PCC: Invalidate PCC-RO cache when access from the old client Created: 03/Dec/20  Updated: 22/Oct/21

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   

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.



 Comments   
Comment by Gerrit Updater [ 03/Dec/20 ]

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

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