Skip to content

qa/cephfs: collapse the two dirfrag prefetch dimensions into one - #72524

Merged
vshankar merged 1 commit into
ceph:mainfrom
vshankar:wip-vshankar-dir-prefetch-facet
Oct 19, 2026
Merged

vshankar merged 1 commit into
ceph:mainfrom
vshankar:wip-vshankar-dir-prefetch-facet

Conversation

@vshankar

@vshankar vshankar commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

prefetch_entire_dirfrags and prefetch_dirfrag_backend were separate facets of fs:thrash/workloads, but both wrote cluster-conf.mds.mds_dir_prefetch. prefetch_dirfrag_backend/yes set it to false because the backend path is only reachable when entire-dirfrag prefetch is off.

Being a separate dimension, this somewhat crossed with prefetch_entire_dirfrags/yes and the latter won the merge, and the job ran with mds_dir_prefetch=true and mds_dir_prefetch_backend=true - plain whole-dirfrag prefetch with the backend dead, while the description string claimed backend prefetch (confusing!).

Replace both with a single dir_prefetch facet naming the three behaviours that exist: entire, keyed, and keyed-backend.

Fixes: https://tracker.ceph.com/issues/81584

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

@vshankar
vshankar requested review from a team and xiubli October 9, 2026 06:49
@vshankar vshankar added the cephfs Ceph File System label Oct 9, 2026
@github-actions github-actions Bot added the tests label Oct 9, 2026
prefetch_entire_dirfrags and prefetch_dirfrag_backend were separate facets
of fs:thrash/workloads, but both wrote cluster-conf.mds.mds_dir_prefetch.
prefetch_dirfrag_backend/yes set it to false because the backend path is
only reachable when entire-dirfrag prefetch is off.

Being a separate dimension, this somewhat crossed with prefetch_entire_dirfrags/yes
and the latter won the merge, and the job ran with mds_dir_prefetch=true and
mds_dir_prefetch_backend=true - plain whole-dirfrag prefetch with the backend dead,
while the description string claimed backend prefetch (confusing!).

Replace both with a single dir_prefetch facet naming the three behaviours
that exist: entire, keyed, and keyed-backend.

Fixes: https://tracker.ceph.com/issues/81584
Signed-off-by: Venky Shankar <[email protected]>
@vshankar
vshankar force-pushed the wip-vshankar-dir-prefetch-facet branch from 92b58af to 06dd42c Compare October 12, 2026 08:11
@vshankar

Copy link
Copy Markdown
Contributor Author

@xiubli - fixed and updated.

@vshankar
vshankar requested a review from xiubli October 12, 2026 08:11

@xiubli xiubli left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks @vshankar

@vshankar

Copy link
Copy Markdown
Contributor Author

This PR has been added to main integration testing by vshankar started 2026-10-13-15:58.

@vshankar vshankar left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vshankar
vshankar merged commit e1aa9e6 into ceph:main Oct 19, 2026
18 of 19 checks passed
@github-actions

Copy link
Copy Markdown

This is an automated message by src/script/redmine-upkeep.py.

I have resolved the following tracker ticket due to the merge of this PR:

No backports are pending for the ticket. If this is incorrect, please update the tracker
ticket and reset to Pending Backport state.

Update Log: https://github.com/ceph/ceph/actions/runs/39235824721

@anthonyeleven

Copy link
Copy Markdown
Contributor

@xiubli @vshankar If these are backported, #69832, #72036 and #72524 need to land in the same point release on each branch. #69832 alone would ship the problems tracked in https://tracker.ceph.com/issues/80828 to anyone running mds_dir_prefetch=false with mds_dir_prefetch_backend=true, and #72524 is the qa change that covers the backend mode. Backports are requested on trackers 77810, 80828 and 81584.

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.

3 participants