Page MenuHomeFreeBSD

Improve extents verification logic.
ClosedPublic

Authored by fsu on Apr 22 2021, 5:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 25 2024, 11:02 PM
Unknown Object (File)
Jan 31 2024, 8:15 PM
Unknown Object (File)
Jan 16 2024, 8:40 AM
Unknown Object (File)
Jan 14 2024, 4:59 AM
Unknown Object (File)
Dec 20 2023, 6:51 AM
Unknown Object (File)
Dec 15 2023, 4:39 PM
Unknown Object (File)
Dec 1 2023, 7:06 PM
Unknown Object (File)
Sep 22 2023, 8:58 AM
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 Skipped
Unit
Tests Skipped

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.