Skip to content

squid: client: use path supplied in statfs#65133

Merged
joscollin merged 6 commits intoceph:squidfrom
chrisphoffman:wip-72645-squid
Sep 23, 2025
Merged

squid: client: use path supplied in statfs#65133
joscollin merged 6 commits intoceph:squidfrom
chrisphoffman:wip-72645-squid

Conversation

@chrisphoffman
Copy link
Contributor

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

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)
@chrisphoffman chrisphoffman added this to the v16.2.15 milestone Aug 19, 2025
@chrisphoffman chrisphoffman added the cephfs Ceph File System label Aug 19, 2025
@github-actions github-actions bot added the tests label Aug 19, 2025
@joscollin
Copy link
Member

This PR is under test in https://tracker.ceph.com/issues/72883.

Copy link
Member

@joscollin joscollin left a comment

@joscollin joscollin merged commit 601380d into ceph:squid Sep 23, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cephfs Ceph File System tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants