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

bad LFSCK_RBTREE_BITMAP_MASK causes the layout lfsck orphan rbtree failure

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • Lustre 2.6.0
    • Lustre 2.6.0
    • None
    • 3
    • 13142

    Description

      As shown:

      #define LFSCK_RBTREE_BITMAP_SIZE        PAGE_CACHE_SIZE
      #define LFSCK_RBTREE_BITMAP_WIDTH       (LFSCK_RBTREE_BITMAP_SIZE << 3)
      #define LFSCK_RBTREE_BITMAP_MASK        (LFSCK_RBTREE_BITMAP_SIZE - 1)
      

      In fact, the LFSCK_RBTREE_BITMAP_MASK should be "(LFSCK_RBTREE_BITMAP_WIDTH - 1)".

      Attachments

        Activity

          [LU-4777] bad LFSCK_RBTREE_BITMAP_MASK causes the layout lfsck orphan rbtree failure

          The patch has been landed.

          yong.fan nasf (Inactive) added a comment - The patch has been landed.
          yong.fan nasf (Inactive) added a comment - Here is the patch: http://review.whamcloud.com/#/c/9703/

          People

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

            Dates

              Created:
              Updated:
              Resolved: