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

Basepath-hash inode algorithm #1323

Open
wants to merge 1 commit into
base: latest-release
Choose a base branch
from

Commits on Apr 5, 2024

  1. Add new basepath-hash inode-generation algorithm

    A filesystem's device id (st_dev) may change on reboot (eg with zfs). Instead, we can use the files base path (+underlying inode) to generate an inode, which will remain constant across reboots. However, this may have unexpected effects if multiple unique devices appear under a base path.
    
    Like hybrid_hash, basehybrid_hash/32 hashes relative path for dirs and basepath_hash for files
    
    Original patch by thrnz@github
    PhracturedBlue committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    d0d265a View commit details
    Browse the repository at this point in the history