[LU-7433] xattr locks are lost on mdt Created: 17/Nov/15  Updated: 10/Sep/16  Resolved: 10/Sep/16

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.9.0

Type: Bug Priority: Minor
Reporter: Vitaly Fertman Assignee: Dmitry Eremin (Inactive)
Resolution: Fixed Votes: 0
Labels: bgti, patch

Issue Links:
Duplicate
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

mdt_intent_getxattr() can return EFAULT if a buffer cannot be found, it is returned after lock_replace, where a new lock is installed into lockp. An error forces ldlm_lock_enqueue() to destroy the original lock, but ldlm_handle_enqueue0() drops the reference on the new lock. thus, the original destroyed not granted lock is pinned and lost.



 Comments   
Comment by Gerrit Updater [ 17/Nov/15 ]

Vitaly Fertman (vitaly.fertman@seagate.com) uploaded a new patch: http://review.whamcloud.com/17220
Subject: LU-7433 ldlm: xattr locks are lost on mdt
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 6cff4e7aa30a8de9c269a470dd008bbdd2f613cb

Comment by Gerrit Updater [ 10/Sep/16 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/17220/
Subject: LU-7433 ldlm: xattr locks are lost on mdt
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 1cb9e85039c8df5fbe061aad3b0666c59ff7aa4e

Comment by Peter Jones [ 10/Sep/16 ]

Landed for 2.9

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