[LU-10667] Open by handle and normal open results in incorrect ETXTBSY behavior Created: 14/Feb/18 Updated: 15/Feb/18 Resolved: 15/Feb/18 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Patrick Farrell (Inactive) | Assignee: | Patrick Farrell (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
When a file is open by handle for write and then closed, attempts to exec from another node will fail with ETXTBSY, even though the file is not currently open for write. This is because the lock used by open by handle is a CW lock, so the close is not passed on to the MDS. The solution is to always pass the close on to the MDS when a file is open for write. Patch forthcoming. |
| Comments |
| Comment by Gerrit Updater [ 14/Feb/18 ] |
|
Patrick Farrell (paf@cray.com) uploaded a new patch: https://review.whamcloud.com/31304 |
| Comment by Oleg Drokin [ 15/Feb/18 ] |
|
This is a duplicate of |