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

Slightly improve dnode hash #16131

Merged
merged 1 commit into from
May 1, 2024
Merged

Slightly improve dnode hash #16131

merged 1 commit into from
May 1, 2024

Commits on Apr 24, 2024

  1. Slightly improve dnode hash

    As I understand just for being less predictable dnode hash includes
    8 bits of objset pointer, starting at 6.  But since objset_t is
    more than 1KB in size, its allocations are likely aligned to 2KB,
    that means 11 lower bits provide no entropy. Just take the 8 bits
    starting from 11.
    
    Signed-off-by:	Alexander Motin <[email protected]>
    Sponsored by:	iXsystems, Inc.
    amotin committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    df149f8 View commit details
    Browse the repository at this point in the history