[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:
Duplicate
duplicates LU-10457 open_by_handle_at() in write mode tri... Resolved
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
Subject: LU-10667 llite: Always real_close writeable file
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 0d3a9e0fc3d83d764d81b71577a398123f93d86d

Comment by Oleg Drokin [ 15/Feb/18 ]

This is a duplicate of LU-10457

Generated at Sat Feb 10 02:37:08 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.