Page MenuHomeFreeBSD

Fix directory blocks checksumming.
ClosedPublic

Authored by fsu on May 11 2018, 6:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 25, 1:17 AM
Unknown Object (File)
Fri, Nov 21, 2:26 PM
Unknown Object (File)
Sun, Nov 16, 7:42 AM
Unknown Object (File)
Nov 12 2025, 1:55 AM
Unknown Object (File)
Nov 5 2025, 7:23 AM
Unknown Object (File)
Nov 5 2025, 7:23 AM
Unknown Object (File)
Nov 5 2025, 7:23 AM
Unknown Object (File)
Nov 5 2025, 5:00 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.