[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: |
|
||||||||||||
| 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. |