[LU-16887] scrub does not handle OI->wrong inode situation Created: 09/Jun/23 Updated: 20/Jun/23 Resolved: 20/Jun/23 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.16.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Alexander Boyko | Assignee: | Alexander Boyko |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | patch | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
The simple case when file is removed with ldiskfs mount leads to situation when OI exist and points to inode, but inode is reused. For such fid osd_fid_lookup() will always return EINPROGRESS. Scrub doesnot handle this problem. } else if (osd_id_eq(lid, lid2)) {
if (converted)
sf->sf_items_updated++;
GOTO(out, rc = 0);
}
|
| Comments |
| Comment by Gerrit Updater [ 09/Jun/23 ] |
|
"Alexander Boyko <alexander.boyko@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51263 |
| Comment by Gerrit Updater [ 20/Jun/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/51263/ |
| Comment by Peter Jones [ 20/Jun/23 ] |
|
Landed for 2.16 |