Skip to content

MDS: disallow root directory fragmentation#64409

Merged
vshankar merged 1 commit intoceph:mainfrom
bolzo:mds_disallow_root_fragmentation
Jul 25, 2025
Merged

MDS: disallow root directory fragmentation#64409
vshankar merged 1 commit intoceph:mainfrom
bolzo:mds_disallow_root_fragmentation

Conversation

@bolzo
Copy link
Contributor

@bolzo bolzo commented Jul 9, 2025

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

Signed-off-by: Andrea Bolzonella <a.bolzonella@42on.com>
@github-actions github-actions bot added the cephfs Ceph File System label Jul 9, 2025
@vshankar vshankar requested a review from a team July 10, 2025 12:57
return false;
}
if (diri->ino() == CEPH_INO_ROOT) {
dout(7) << "can_fragment: i won't fragment root direcory" << dendl;
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: directory

@vshankar
Copy link
Contributor

Thanks for the fix @bolzo. Just FYI -- https://tracker.ceph.com/issues/72205 (assigned to @neesingh-rh)

@vshankar
Copy link
Contributor

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

Copy link
Contributor

@vshankar vshankar left a comment

Choose a reason for hiding this comment

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

@vshankar vshankar merged commit 50ee348 into ceph:main Jul 25, 2025
15 of 17 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants