Repository navigation
tentacle: client: account for mixed quotas in statfs - #66470
Merged
2 commits merged intoSep 1, 2026
Merged
2 commits merged into
2 commits merged into
Conversation
In statfs, when the quota root for a dir is discovered, it uses that dir to base values for max_files and max_bytes. This can be an issue when a dir is found with only one of two potential quota fields. Take for instance, a dir with only max_files set and parent dir has only max_bytes set. During a statfs call, it will then use the max_files value for provided dir, but does not have a value for max_bytes. In this case, this behavior will cause the size of the filesystem to be displayed. Instead, find the quota root for max_files and max_bytes separately. This will allow for mixed quotas to inherit missing values from its parent. In the above example, max_files from current dir and max_bytes from parent dir will be displayed. Fixes: https://tracker.ceph.com/issues/73487 Signed-off-by: Christopher Hoffman <[email protected]> (cherry picked from commit dd02ea9)
Member
Author
|
jenkins test make check |
Signed-off-by: Christopher Hoffman <[email protected]> (cherry picked from commit 2b057ec)
joscollin
force-pushed
the
wip-73871-tentacle
branch
from
December 2, 2025 08:42
5a2573e to
281b74b
Compare
Member
Author
|
jenkins test docs |
Member
Author
|
This PR is under test in https://tracker.ceph.com/issues/74076. |
Member
Author
|
This PR is under test in https://tracker.ceph.com/issues/73567. |
Contributor
|
@joscollin pls get +1 approval |
vshankar
approved these changes
Sep 1, 2026
batrick
added a commit
that referenced
this pull request
Sep 1, 2026
* refs/pull/66470/head: test: Add statfs test case for mixed quotas client: account for mixed quotas in statfs Reviewed-by: Venky Shankar <[email protected]>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
backport tracker: https://tracker.ceph.com/issues/73871
backport of #65918
parent tracker: https://tracker.ceph.com/issues/73487
this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh