-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch fixes the handling of inodes and sizes, currently if user sets indoes and sizes together, quota is only set on sizes. Second problem with quota is that we have to have unigue projectids for each directory. Originally container/storage only did quota on rootfs, now we want to support it on volumes as well. We need to be able to get unigue projectids for these two different parent directories. The added function, attempts to maintain at least 10,000 unigue id's based on the inode of the parent directory. I know that this is not perfect and we have a potential for overlay. If you have a better algorythm, I would love to use it. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
- Loading branch information
Showing
2 changed files
with
81 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters