[LU-14709] invalidate remote MDT object which is accessed without lock Created: 26/May/21 Updated: 17/Sep/21 Resolved: 17/Sep/21 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.15.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Lai Siyao | Assignee: | Qian Yingjin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Severity: | 3 | ||||
| Rank (Obsolete): | 9223372036854775807 | ||||
| Description |
|
Remote object attributes are cached in OSP, and these attributes will be invalidated upon lock/unlock, but in several places they are accessed without lock, where they should be invalidated after use. |
| Comments |
| Comment by Alex Zhuravlev [ 26/May/21 ] |
|
Lai, any specific example? |
| Comment by Lai Siyao [ 26/May/21 ] |
|
ahh, I'm working on the patch, for example, mdt_fid2path(), and mdd_parent_fid() may skip invalidating if error happened in linkea reading. |
| Comment by Gerrit Updater [ 27/May/21 ] |
|
Lai Siyao (lai.siyao@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/43843 |
| Comment by John Hammond [ 13/Jul/21 ] |
|
Cannot reproduce. Change abandoned. |
| Comment by Peter Jones [ 19/Aug/21 ] |
|
Patch for master - https://review.whamcloud.com/#/c/44483/ |
| Comment by Gerrit Updater [ 17/Sep/21 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/44483/ |
| Comment by Peter Jones [ 17/Sep/21 ] |
|
Landed for 2.15 |