[LU-3057] Hang at sanity test_56x and test_56w Created: 28/Mar/13  Updated: 23/Apr/13  Resolved: 05/Apr/13

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

Type: Bug Priority: Blocker
Reporter: Jinshan Xiong (Inactive) Assignee: Jinshan Xiong (Inactive)
Resolution: Fixed Votes: 0
Labels: HB, revzfs

Issue Links:
Duplicate
is duplicated by LU-3092 sanity 56w fails on current master. Resolved
is duplicated by LU-3146 Test failure on test suite sanity, su... Resolved
Severity: 3
Rank (Obsolete): 7453

 Description   

The root cause of this problem is that ll_setattr is called directly in ioctl ll_swap_layouts(). It should have been called with inode mutex held.

        if (llss->ia2.ia_valid != 0)
                rc = ll_setattr(file1->f_dentry, &llss->ia2);

        if (llss->ia1.ia_valid != 0)
                rc1 = ll_setattr(file2->f_dentry, &llss->ia1);


 Comments   
Comment by Jinshan Xiong (Inactive) [ 28/Mar/13 ]

patch is at: http://review.whamcloud.com/5874

Comment by Andreas Dilger [ 05/Apr/13 ]

Patch landed to master.

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