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)
Tue, May 14, 3:26 AM
Unknown Object (File)
Fri, Apr 26, 7:19 AM
Unknown Object (File)
Wed, Apr 24, 12:02 PM
Unknown Object (File)
Mar 30 2024, 5:20 AM
Unknown Object (File)
Jan 18 2024, 10:33 AM
Unknown Object (File)
Jan 14 2024, 4:59 AM
Unknown Object (File)
Dec 20 2023, 7:44 AM
Unknown Object (File)
Dec 16 2023, 1:00 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.