[LU-4777] bad LFSCK_RBTREE_BITMAP_MASK causes the layout lfsck orphan rbtree failure Created: 18/Mar/14 Updated: 26/Mar/14 Resolved: 26/Mar/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): | 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)". |
| Comments |
| Comment by nasf (Inactive) [ 18/Mar/14 ] |
|
Here is the patch: |
| Comment by nasf (Inactive) [ 26/Mar/14 ] |
|
The patch has been landed. |