[LU-4796] NOT inject OBD_FAIL_FID_LOOKUP failure on dotdot entry Created: 21/Mar/14 Updated: 16/Apr/14 Resolved: 16/Apr/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: | Blocker |
| Reporter: | nasf (Inactive) | Assignee: | nasf (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 13201 |
| Description |
|
The LFSCK may cannot rebuild the FID-in-dirent for ".." entry after the MDT restored from file-level backup, because there is not enough space in the directory head area. Then OBD_FAIL_FID_LOOKUP failed on ".." will cause unexpected failure. For example: == sanity-lfsck test 5: LFSCK can handle IFIG object upgrading == 06:53:16 (1395237196) rm: cannot remove `/mnt/lustre/d4.sanity-lfsck': Directory not empty CMD: shadow-8vm12 /usr/sbin/lctl set_param fail_loc=0x1504 fail_loc=0x1504 ... |
| Comments |
| Comment by nasf (Inactive) [ 21/Mar/14 ] |
|
Here is the patch: |
| Comment by Andreas Dilger [ 16/Apr/14 ] |
|
It would also be good to fix the test script: == sanity-lfsck test 5: LFSCK can handle IFIG object upgrading == 06:53:16 (1395237196) s/IFIG/IGIF/ |
| Comment by nasf (Inactive) [ 16/Apr/14 ] |
|
I will fix the scripts typo issues in another patch together with other scripts update and optimisation. |
| Comment by nasf (Inactive) [ 16/Apr/14 ] |
|
The patch has been landed to master. |