Page MenuHomeFreeBSD

Fix directory blocks checksumming.
ClosedPublic

Authored by fsu on May 11 2018, 6:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 23 2023, 4:04 AM
Unknown Object (File)
Nov 28 2023, 1:07 PM
Unknown Object (File)
Nov 25 2023, 12:27 PM
Unknown Object (File)
Nov 23 2023, 8:52 AM
Unknown Object (File)
Nov 23 2023, 8:50 AM
Unknown Object (File)
Nov 23 2023, 8:38 AM
Unknown Object (File)
Nov 6 2023, 5:55 PM
Unknown Object (File)
Oct 5 2023, 4:53 PM
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.