Page MenuHomeFreeBSD

Invalidate inode extents cache on truncation.
ClosedPublic

Authored by fsu on Apr 22 2021, 5:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 5, 4:40 AM
Unknown Object (File)
Tue, Nov 26, 5:12 AM
Unknown Object (File)
Oct 22 2024, 12:09 PM
Unknown Object (File)
Oct 2 2024, 11:03 PM
Unknown Object (File)
Sep 24 2024, 9:31 AM
Unknown Object (File)
Sep 8 2024, 10:44 PM
Unknown Object (File)
Sep 3 2024, 4:17 AM
Unknown Object (File)
Sep 1 2024, 11:47 AM
Subscribers
None

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
rG FreeBSD src repository
Lint
Lint Not Applicable
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.