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

Storage location balancing #143

Open
jjg opened this issue May 4, 2024 · 0 comments
Open

Storage location balancing #143

jjg opened this issue May 4, 2024 · 0 comments

Comments

@jjg
Copy link
Owner

jjg commented May 4, 2024

Extend storage location config to include additional attributes:

  • read-only: don't write additional blocks to this location
  • drain: move blocks from this location to others
  • read-write: read and write blocks in this location (default)

Notes

drain should include an extended attribute which is the drain rate expressed in blocks-per-minute. This target rate is only a "best effort" and can vary depending on many factors, but will not be exceeded.

If drain is based on reading inodes first, it should also provide garbage collection as blocks that are no longer referenced by inodes will be left behind on the drained storage location.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant