Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Murmurhash byteswapping fix v2 [VDO-5720] #58

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

lorelei-sakai
Copy link
Member

Per suggestion from Eric Biggers on dm-devel, don't use cpu_to_le64 and friends, use get_unaligned_le64 and friends. Call them directly rather than via a wrapper function, since we don't need the conditional mess. Use the same code for user mode, as well.

This commit will get squashed with the one from dm-linux/57 to make a v2 patch.

Per suggestion from Eric Biggers on dm-devel, don't use cpu_to_le64
and friends, use get_unaligned_le64 and friends. Call them directly
rather than via a wrapper function, since we don't need the
conditional mess. Use the same code for user mode, as well.

Signed-off-by: Matthew Sakai <[email protected]>
@lorelei-sakai lorelei-sakai merged commit 31bf4f9 into dm-vdo:main Mar 25, 2024
2 checks passed
@lorelei-sakai lorelei-sakai deleted the fix/builtin-replacement branch March 25, 2024 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants