Skip to content

squid: client: use path supplied in statfs - #65133

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

joscollin merged 6 commits into
ceph:squidfrom
chrisphoffman:wip-72645-squid

Conversation

@chrisphoffman

Copy link
Copy Markdown
Contributor

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 <[email protected]>
(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 <[email protected]>
(cherry picked from commit 85f9fc2)
Signed-off-by: Christopher Hoffman <[email protected]>
(cherry picked from commit 61c13a9)
Signed-off-by: Christopher Hoffman <[email protected]>
(cherry picked from commit 9ab1209)
Signed-off-by: Christopher Hoffman <[email protected]>
(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 <[email protected]>
(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
Copy Markdown
Member

@joscollin
joscollin merged commit 601380d into ceph:squid Sep 23, 2025
afreen23 pushed a commit to rhcs-dashboard/ceph that referenced this pull request Jul 29, 2026
squid: client: use path supplied in statfs

Reviewed-by: Jos Collin <[email protected]>
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