Page MenuHomeFreeBSD

Fix directory blocks checksumming.
ClosedPublic

Authored by fsu on May 11 2018, 6:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 21 2024, 10:33 PM
Unknown Object (File)
Nov 19 2024, 11:52 PM
Unknown Object (File)
Nov 19 2024, 9:35 PM
Unknown Object (File)
Nov 19 2024, 5:26 PM
Unknown Object (File)
Nov 19 2024, 4:44 PM
Unknown Object (File)
Nov 19 2024, 1:19 PM
Unknown Object (File)
Oct 8 2024, 9:30 AM
Unknown Object (File)
Oct 8 2024, 8:33 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.