squid: client: use path supplied in statfs#65133
Merged
joscollin merged 6 commits intoceph:squidfrom Sep 23, 2025
Merged
Conversation
If path provided, use in statfs. Replumb internal statfs for internal only to allow for use in ll_statfs and statfs Fixes: https://tracker.ceph.com/issues/72355 Signed-off-by: Christopher Hoffman <choffman@redhat.com> (cherry picked from commit 0c6a8ad)
In statfs, get quota_root for inode provided. Check if a quota is directly applied to inode. If not, reverse tree walk up and maybe find a quota set higher up the tree. Fixes: https://tracker.ceph.com/issues/72355 Signed-off-by: Christopher Hoffman <choffman@redhat.com> (cherry picked from commit 85f9fc2)
Signed-off-by: Christopher Hoffman <choffman@redhat.com> (cherry picked from commit 61c13a9)
Signed-off-by: Christopher Hoffman <choffman@redhat.com> (cherry picked from commit 9ab1209)
Signed-off-by: Christopher Hoffman <choffman@redhat.com> (cherry picked from commit dd7bdd3)
During test_df_for_invalid_directory, path_walk is now called. Use a more general error message as more errnos can be returned and this will be a better catch all. Signed-off-by: Christopher Hoffman <choffman@redhat.com> (cherry picked from commit 45776aa)
Member
|
This PR is under test in https://tracker.ceph.com/issues/72883. |
joscollin
approved these changes
Sep 23, 2025
Member
joscollin
left a comment
There was a problem hiding this comment.
Tests passed:
- https://pulpito.ceph.com/jcollin-2025-09-15_04:58:24-fs-wip-jcollin-testing-20250912.020127-squid-distro-default-smithi/8499677
- https://pulpito.ceph.com/jcollin-2025-09-15_04:58:24-fs-wip-jcollin-testing-20250912.020127-squid-distro-default-smithi/8499681
- https://pulpito.ceph.com/jcollin-2025-09-15_04:58:24-fs-wip-jcollin-testing-20250912.020127-squid-distro-default-smithi/8499790
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/72645
backport of #64864
parent tracker: https://tracker.ceph.com/issues/72355
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