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

mkfs.famfs: support configurable metadata log size? #4

Open
jagalactic opened this issue Mar 4, 2024 · 0 comments
Open

mkfs.famfs: support configurable metadata log size? #4

jagalactic opened this issue Mar 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jagalactic
Copy link
Contributor

Currently the log is always 8MiB, which currently holds something over 25000 log entries. Reasons we might support a configurable log size:

  1. 25K entries is not enough
  2. 8MiB is massive overkill (e.g. the device is going to be used for a single file, or a small set). In this case, the minimum log size will be 2MiB - one huge page.

Under no circumstances should we support a log size that is not a 2MiB multiple. Honestly I'm not sure this needs to be addressed, but it's a question that has come up several times.

The trickiest part would be test coverage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant