Page MenuHomeFreeBSD

Improve extents verification logic.
ClosedPublic

Authored by fsu on Apr 22 2021, 5:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 5, 3:00 AM
Unknown Object (File)
Tue, Nov 26, 3:17 AM
Unknown Object (File)
Nov 16 2024, 1:22 AM
Unknown Object (File)
Sep 23 2024, 11:30 PM
Unknown Object (File)
Sep 17 2024, 9:24 PM
Unknown Object (File)
Sep 9 2024, 3:54 AM
Unknown Object (File)
Sep 7 2024, 12:15 PM
Unknown Object (File)
Aug 21 2024, 3:40 PM
Subscribers
None

Details

Summary

This change adds ability to do extents tree validation under ext2_vget() and simply detect inodes with extents corruptions.
The variable print_extents_walk allows to print extents tree, if needed.

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.
pfg requested changes to this revision.Apr 22 2021, 9:04 PM

Using all uppercase messages is bad, unless there is a panic.
Otherwise, LGTM.

sys/fs/ext2fs/ext2_inode_cnv.c
76

No, please don''r have the filesystem scream.

This revision now requires changes to proceed.Apr 22 2021, 9:04 PM

Fix printf message as requested

This revision is now accepted and ready to land.Apr 23 2021, 4:06 PM
This revision was automatically updated to reflect the committed changes.