Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-4796

NOT inject OBD_FAIL_FID_LOOKUP failure on dotdot entry

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • Lustre 2.6.0
    • Lustre 2.6.0
    • None
    • 3
    • 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
      ...
      

      Attachments

        Activity

          [LU-4796] NOT inject OBD_FAIL_FID_LOOKUP failure on dotdot entry

          The patch has been landed to master.

          yong.fan nasf (Inactive) added a comment - The patch has been landed to master.

          I will fix the scripts typo issues in another patch together with other scripts update and optimisation.

          yong.fan nasf (Inactive) added a comment - I will fix the scripts typo issues in another patch together with other scripts update and optimisation.

          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/

          adilger Andreas Dilger added a comment - 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/
          yong.fan nasf (Inactive) added a comment - Here is the patch: http://review.whamcloud.com/9748

          People

            yong.fan nasf (Inactive)
            yong.fan nasf (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: