[LU-13930] Auto PCC-RO attach in atomic_open Created: 27/Aug/20  Updated: 22/Mar/21

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

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

Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Auto PCC-RO attach during PCC open will try to change the layout to read-only state on MDT. If the intent open in atomic_open returns the lock with MDS_INODELOCK_LAYOUT bit set, it may cause dead lock. Thus it would better to release the intent lock first before call PCC open.



 Comments   
Comment by Gerrit Updater [ 27/Aug/20 ]

Yingjin Qian (qian@ddn.com) uploaded a new patch: https://review.whamcloud.com/39736
Subject: LU-13930 pcc: auto PCC-RO attach in atomic_open
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: b0cf3c9dc3f44fcf30a17f2e69915c8a6bd2b238

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