Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
Lustre 2.4.0
-
3
-
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);