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)
Sat, Mar 30, 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
Unknown Object (File)
Nov 15 2023, 8:47 PM
Unknown Object (File)
Oct 19 2023, 3:33 PM
Unknown Object (File)
Oct 15 2023, 5:22 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.