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

flistd: add cache directory indirection to avoid large directory size #41

Closed
maxux opened this issue Oct 9, 2020 · 1 comment · Fixed by #42
Closed

flistd: add cache directory indirection to avoid large directory size #41

maxux opened this issue Oct 9, 2020 · 1 comment · Fixed by #42

Comments

@maxux
Copy link
Collaborator

maxux commented Oct 9, 2020

@delandtj noticed some large usage of flist cache directory, like 7M directory size, which is not optimal at all for storage.
An easy workaround to fix that is using indirection like cache/fa/db/abcd00123... (for hash fadbabcd00123...)
An alternative could also be fa/db/fadbabcd00123 in order to keep filename as full hash.

@zaibon zaibon transferred this issue from threefoldtech/zos Oct 9, 2020
@zaibon
Copy link

zaibon commented Oct 9, 2020

moved this issue from https://github.com/threefoldtech/zos to this repo since the organization of the files of the cache is management by 0-fs itself, not 0-OS

@muhamadazmy muhamadazmy self-assigned this Oct 12, 2020
@muhamadazmy muhamadazmy moved this from To do to In progress in zos 0.4.5 (release as 0.4.6) Oct 12, 2020
muhamadazmy added a commit that referenced this issue Oct 12, 2020
zos 0.4.5 (release as 0.4.6) automation moved this from In progress to Done Oct 20, 2020
muhamadazmy pushed a commit that referenced this issue Oct 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

3 participants