Page MenuHomeFreeBSD

Invalidate inode extents cache on truncation.
ClosedPublic

Authored by fsu on Apr 22 2021, 5:25 PM.

Details

Summary

It is needed to invalidate cache in case of inode space decreasing to avoid situation, when extents cache returns not exist extent.
The issue reproduces like fsck inode size errors after fsx testing.

Test Plan

Cannot reproduce the issue using intensive parallel fsx tests.

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

fsu requested review of this revision.Apr 22 2021, 5:25 PM
fsu created this revision.
This revision is now accepted and ready to land.Apr 22 2021, 8:08 PM
This revision was automatically updated to reflect the committed changes.