[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: |
|
||||
| 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 |