[LU-4661] Some issues of finding target in LMV Created: 23/Feb/14  Updated: 02/Jun/14  Resolved: 02/Jun/14

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

Type: Bug Priority: Critical
Reporter: Di Wang Assignee: Lai Siyao
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 12761

 Description   

With DNE every object can have two locks in different namespaces:
lookup lock in space of MDT storing direntry and update/open lock
in space of MDT storing inode. In lmv_find_cbdata/lmv_lock_lock,
it should try the MDT that the FID maps to first, since this can
be easily found, and only try others if that fails.
In the error handler of lmv_add_targets, it should check whether
ld_tgt_count is being increased before ld_tgt_count is being -1.

http://review.whamcloud.com/#/c/8019/

I will update the patch later.



 Comments   
Comment by Di Wang [ 08/Mar/14 ]

http://review.whamcloud.com/#/c/8019/

Comment by Jodi Levi (Inactive) [ 22/Apr/14 ]

Lai,
Would you be able to update the patch?
Thank you!

Comment by Lai Siyao [ 23/Apr/14 ]

I will work on it after LU-4858.

Comment by Di Wang [ 12/May/14 ]

oh, I already updated the patch. Sorry about that.

Comment by Lai Siyao [ 12/May/14 ]

I just verified that this can land to master without conflict.

Comment by Jodi Levi (Inactive) [ 02/Jun/14 ]

Patch landed to Master. Please reopen ticket if more work is needed.

Generated at Sat Feb 10 01:44:44 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.