[LU-14949] gap in rename atomicity: possible to get ENOENT when renaming over an existing file Created: 17/Aug/21 Updated: 17/Sep/21 Resolved: 31/Aug/21 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.15.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Patrick Farrell | Assignee: | Patrick Farrell |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Severity: | 3 | ||||
| Rank (Obsolete): | 9223372036854775807 | ||||
| Description |
|
When doing a rename/mv of a file over the top of an existing file, there is a race with an open of that existing while where that open can get ENOENT. This race is due to a combination of OPEN_BY_FID and our dentry caching behavior and can be resolved by a change to the handling of opens. |
| Comments |
| Comment by Patrick Farrell [ 17/Aug/21 ] |
| Comment by Gerrit Updater [ 31/Aug/21 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/44675/ |
| Comment by Peter Jones [ 31/Aug/21 ] |
|
Landed for 2.15 |