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

file: use 64bit indexing for block size #296

Merged
merged 2 commits into from
Sep 5, 2024
Merged

file: use 64bit indexing for block size #296

merged 2 commits into from
Sep 5, 2024

Commits on Sep 5, 2024

  1. file: use 64bit indexing for block size

    This patch changes the block size and block compression functions to use
    64bit indexing. From reading the specs, I came to the conclusion that
    the block size table can be larger than 4Gi entries. (to be exact, I
    believe that the worst case block table is:
    
    	UINT64_MAX (max file size) / 4096 (minimal block size)
    
    While we don't support files that large yet, we lay the foundation to
    support them in the future.
    Gottox committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    4f56e30 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    829b56b View commit details
    Browse the repository at this point in the history