Skip to content

mds/MDBalancer: add an arg to limit depth when dump loads for dirfrags - #46685

Merged
vshankar merged 1 commit into
ceph:mainfrom
Rethan:perf-limit-dump-loads-depth
Aug 24, 2022
Merged

vshankar merged 1 commit into
ceph:mainfrom
Rethan:perf-limit-dump-loads-depth

Conversation

@Rethan

@Rethan Rethan commented Jun 15, 2022 •

Copy link
Copy Markdown
Contributor

Directory hierarchy may be deep for a large filesystem, cmd dump loads would output
a lot and take a long time. So add an arg to limit depth when dump loads of dirfrags.

Fixes: https://tracker.ceph.com/issues/56058
Signed-off-by: haoyixing [email protected]

Contribution Guidelines

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
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows

@github-actions github-actions Bot added the cephfs Ceph File System label Jun 15, 2022
@dparmar18
dparmar18 requested a review from a team June 15, 2022 07:16
@dparmar18

Copy link
Copy Markdown
Contributor

@Rethan Do you have a tracker for this?

@dparmar18

Copy link
Copy Markdown
Contributor

jenkins test api

@Rethan
Rethan force-pushed the perf-limit-dump-loads-depth branch from 05c1b76 to f95b6b3 Compare June 15, 2022 08:57
@Rethan

Rethan commented Jun 15, 2022

Copy link
Copy Markdown
Contributor Author

@Rethan

This comment was marked as outdated.

@mchangir mchangir left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

please address the comments

Comment thread src/mds/MDBalancer.cc Resolved
Comment thread src/mds/MDBalancer.cc Resolved
Comment thread src/mds/MDBalancer.h Resolved
Comment thread src/mds/MDSRank.cc Resolved
@Rethan
Rethan force-pushed the perf-limit-dump-loads-depth branch from f95b6b3 to c47298e Compare June 20, 2022 06:22
@Rethan

Rethan commented Jun 20, 2022

Copy link
Copy Markdown
Contributor Author

please address the comments

Updated, thank you for advices.

@Rethan
Rethan requested a review from mchangir June 20, 2022 08:16
@vshankar
vshankar requested a review from a team June 20, 2022 09:15
Comment thread src/mds/MDSRank.cc Resolved
@vshankar

Copy link
Copy Markdown
Contributor

@Rethan changes look fine. please add a test for the same in qa/tasks/cephfs/test_admin.py

@vshankar
vshankar requested a review from a team June 21, 2022 03:28
@Rethan
Rethan force-pushed the perf-limit-dump-loads-depth branch from c47298e to 0180874 Compare June 21, 2022 12:45
@github-actions github-actions Bot added the tests label Jun 21, 2022
@Rethan

This comment was marked as outdated.

Comment thread qa/tasks/cephfs/test_admin.py Resolved
@Rethan
Rethan force-pushed the perf-limit-dump-loads-depth branch from 0180874 to 7805a8c Compare June 22, 2022 03:55
@Rethan

Rethan commented Jun 22, 2022

Copy link
Copy Markdown
Contributor Author

jenkins test api

Comment thread qa/tasks/cephfs/test_admin.py Resolved

@vshankar vshankar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@Rethan PTAL at the failed tests - seems like the decoding the command result failed.

Comment thread qa/tasks/cephfs/test_admin.py Resolved
Directory hierarchy may be deep for a large filesystem, dump loads would output
a lot and take a long time. So add an arg to limit depth when dump loads of dirfrags.

Fixes: https://tracker.ceph.com/issues/56058
Signed-off-by: haoyixing <[email protected]>
@Rethan
Rethan force-pushed the perf-limit-dump-loads-depth branch from 7805a8c to a8f138c Compare June 27, 2022 09:27
@Rethan

This comment was marked as outdated.

@vshankar vshankar added the wip-rishabh-testing Rishabh's testing label label Jun 29, 2022
@vshankar

Copy link
Copy Markdown
Contributor

jenkins test api

Comment thread src/mds/MDBalancer.cc Resolved
Comment thread src/mds/MDSDaemon.cc Resolved

@rishabh-d-dave rishabh-d-dave left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The PR looks fine otherwise.

@rishabh-d-dave rishabh-d-dave removed the wip-rishabh-testing Rishabh's testing label label Jul 5, 2022
@Rethan

Rethan commented Jul 6, 2022

Copy link
Copy Markdown
Contributor Author

The PR looks fine otherwise.

What change should I make? Seems there is a request change.

@vshankar

vshankar commented Jul 6, 2022

Copy link
Copy Markdown
Contributor

The PR looks fine otherwise.

What change should I make? Seems there is a request change.

I think @rishabh-d-dave found a failed test case in his test run.

@rishabh-d-dave please link the failed test run.

@Rethan

Rethan commented Aug 12, 2022

Copy link
Copy Markdown
Contributor Author

The PR looks fine otherwise.

What change should I make? Seems there is a request change.

I think @rishabh-d-dave found a failed test case in his test run.

@rishabh-d-dave please link the failed test run.

Sorry for the delay, but it seems that no failed test case was posted

@Rethan

Rethan commented Aug 24, 2022

Copy link
Copy Markdown
Contributor Author

The PR looks fine otherwise.

What change should I make? Seems there is a request change.

I think @rishabh-d-dave found a failed test case in his test run.

@rishabh-d-dave please link the failed test run.

@vshankar ping?

@vshankar

Copy link
Copy Markdown
Contributor

The PR looks fine otherwise.

What change should I make? Seems there is a request change.

I think @rishabh-d-dave found a failed test case in his test run.
@rishabh-d-dave please link the failed test run.

@vshankar ping?

@rishabh-d-dave Let's merge this and defer any pending pending issues (since this has been waiting for long).

@vshankar
vshankar dismissed rishabh-d-dave’s stale review August 24, 2022 08:00

Deferring any pending comments by Rishabh.

@vshankar
vshankar merged commit b17f0e5 into ceph:main Aug 24, 2022
@vshankar

Copy link
Copy Markdown
Contributor

Apologies for the delay @Rethan

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.

6 participants