Page MenuHomeFreeBSD

Fix directory blocks checksumming.
ClosedPublic

Authored by fsu on May 11 2018, 6:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jun 1, 10:24 AM
Unknown Object (File)
Apr 2 2025, 2:42 AM
Unknown Object (File)
Mar 11 2025, 1:47 AM
Unknown Object (File)
Mar 10 2025, 8:34 AM
Unknown Object (File)
Mar 10 2025, 4:18 AM
Unknown Object (File)
Feb 16 2025, 3:58 AM
Unknown Object (File)
Feb 3 2025, 2:24 PM
Unknown Object (File)
Jan 24 2025, 11:41 AM
Subscribers

Details

Summary

Add additional metadata_csum feature functionality for htree and directory blocks.

Test Plan

Tested using typical fsx/fstorture scenarios on ext4 drive with metadata_csum feature turned on.
Testing scripts could be provided by request.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

pfg added inline comments.
fs/ext2fs/ext2_csum.c
557 ↗(On Diff #42418)

Minor knit, can you move the gen assignment (line 554) right here before its first use?

Not really necessary, just me being icky ;).

This revision is now accepted and ready to land.May 12 2018, 3:01 AM
fs/ext2fs/ext2_csum.c
557 ↗(On Diff #42418)

Yep, it will be more correct. Will be fixed before commit.

This revision was automatically updated to reflect the committed changes.