[LU-1010] lfsck.sh test: e2fsck_pass1:1402: increase inode 20 badness 0 to 1 Created: 18/Jan/12 Updated: 27/Jan/12 Resolved: 27/Jan/12 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.1.0, Lustre 2.2.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Andreas Dilger | Assignee: | WC Triage |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | e2fsprogs | ||
| Environment: |
e2fsprogs-1.41.90.wc4 development release |
||
| Issue Links: |
|
||||||||
| Story Points: | 3 | ||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 6482 | ||||||||
| Description |
|
It appears that Lustre is creating somewhat invalid files on the OST: https://maloo.whamcloud.com/test_sets/cbcbbd2e-3f50-11e1-990e-5254004bbbd3 09:47:21:fat-intel-1vm4: e2fsck_pass1:1402: increase inode 20 badness 0 to 1 These messages relate to the checks added in the "e2fsprogs-ibadness-counter" patch: if (EXT4_XTIME_FUTURE(ctx, sb, inode->i_atime,ctx->time_fudge)|| In turn I think this is caused by the code in filter_create: /* Set a/c/m time to a insane large negative value at creation
* time so that any timestamp arriving from the client will
* always be newer and update the inode.
* See LU-221 for details */
iattr.ia_valid = ATTR_ATIME | ATTR_MTIME | ATTR_CTIME;
LTIME_S(iattr.ia_atime) = INT_MIN + 24 * 3600;
LTIME_S(iattr.ia_mtime) = INT_MIN + 24 * 3600;
LTIME_S(iattr.ia_ctime) = INT_MIN + 24 * 3600;
This was added in commit 414251797ed178eec5d431e1f5aa4a889d2b159f, which "git describe" shows as 2_0_66_0-3-g4142517 This isn't a critical issue in itself, but it means that unused OST files are 3/8 of the way to being marked invalid, and other normal causes like objects over 2GB will also help push the inodes closer to the edge. |
| Comments |
| Comment by Andreas Dilger [ 27/Jan/12 ] |
|
This is going to be fixed as part of |
| Comment by Andreas Dilger [ 27/Jan/12 ] |
|
This is going to be fixed as part of |