Skip to content

crimson: osd_operation cleanups and fix for MOSDRepOpReply ordering#62836

Merged
athanatos merged 11 commits intoceph:mainfrom
athanatos:sjust/wip-crimson-repop-reply-ordering-69439
Apr 29, 2025
Merged

crimson: osd_operation cleanups and fix for MOSDRepOpReply ordering#62836
athanatos merged 11 commits intoceph:mainfrom
athanatos:sjust/wip-crimson-repop-reply-ordering-69439

Conversation

@athanatos
Copy link
Contributor

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

@athanatos athanatos requested review from a team as code owners April 15, 2025 23:13
@athanatos athanatos marked this pull request as draft April 15, 2025 23:13
@athanatos
Copy link
Contributor Author

waiting on cleaner main to test, DNM

@athanatos
Copy link
Contributor Author

Should wait on #62619

@Matan-B Matan-B added this to Crimson Apr 21, 2025
@Matan-B Matan-B moved this to Awaits review in Crimson Apr 21, 2025
@athanatos athanatos force-pushed the sjust/wip-crimson-repop-reply-ordering-69439 branch from 69c3edd to 304de12 Compare April 21, 2025 16:32
@github-actions
Copy link

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

This isn't actually unusual or alarming.

Signed-off-by: Samuel Just <sjust@redhat.com>
Signed-off-by: Samuel Just <sjust@redhat.com>
…log macros

Signed-off-by: Samuel Just <sjust@redhat.com>
…coroutine

Signed-off-by: Samuel Just <sjust@redhat.com>
do_recover_missing was the only thing left, and inheriting from a class
to get a static method is somewhat confusing.  Simply move
do_recover_missing to PG.

Signed-off-by: Samuel Just <sjust@redhat.com>
@athanatos athanatos force-pushed the sjust/wip-crimson-repop-reply-ordering-69439 branch from 304de12 to 00d49dd Compare April 25, 2025 03:51
@athanatos athanatos force-pushed the sjust/wip-crimson-repop-reply-ordering-69439 branch from 00d49dd to e2394ff Compare April 25, 2025 17:04
Messages between OSDs for PGs that have already completed peering
require fewer checks than otherwise.

Signed-off-by: Samuel Just <sjust@redhat.com>
Signed-off-by: Samuel Just <sjust@redhat.com>
Subsequent commits will switch various ops to inherit from
this thereby removing some boilerplate.

Signed-off-by: Samuel Just <sjust@redhat.com>
ClientRequest::get_connection() return l_conn, which will be
null by the time PG::add_client_request_lat is called in
ClientRequest::do_process.  Modify get_connection() to
return a Connection& from whichever of l_conn or r_conn
isn't null.

Signed-off-by: Samuel Just <sjust@redhat.com>
Signed-off-by: Samuel Just <sjust@redhat.com>
@athanatos athanatos force-pushed the sjust/wip-crimson-repop-reply-ordering-69439 branch from e2394ff to f9baafe Compare April 28, 2025 21:20
@athanatos
Copy link
Contributor Author

sjust-2025-04-25_20:38:04-crimson-rados-wip-sjust-crimson-testing-2025-04-25-1745601451-distro-default-gibba

50/51 pass, single failure 8259693 seems to be https://tracker.ceph.com/issues/70502

@athanatos
Copy link
Contributor Author

athanatos commented Apr 28, 2025

In my test environment, this branch does not seem to negatively impact performance (seems to be a very slight improvement).

This should avoid reordering between cores.

Fixes: https://tracker.ceph.com/issues/69439
Signed-off-by: Samuel Just <sjust@redhat.com>
@athanatos athanatos force-pushed the sjust/wip-crimson-repop-reply-ordering-69439 branch from f9baafe to 0c15eb5 Compare April 28, 2025 23:09
@athanatos athanatos marked this pull request as ready for review April 29, 2025 00:08
@athanatos athanatos requested a review from Matan-B April 29, 2025 00:08
Copy link
Contributor

@Matan-B Matan-B left a comment

Choose a reason for hiding this comment

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

lgtm! Only some questions before merging

@athanatos
Copy link
Contributor Author

jenkins test make check

1 similar comment
@athanatos
Copy link
Contributor Author

jenkins test make check

@Matan-B Matan-B moved this from Awaits review to Needs QA in Crimson Apr 29, 2025
@Matan-B
Copy link
Contributor

Matan-B commented Apr 29, 2025

jenkins test api

2 similar comments
@athanatos
Copy link
Contributor Author

jenkins test api

@athanatos
Copy link
Contributor Author

jenkins test api

@athanatos athanatos merged commit 76dcf47 into ceph:main Apr 29, 2025
12 checks passed
@Matan-B Matan-B moved this from Needs QA to Merged in Crimson Apr 30, 2025
@Matan-B Matan-B moved this from Merged Pre Tentacle Freeze to Merged (Main) in Crimson May 7, 2025
@Matan-B Matan-B mentioned this pull request Jul 27, 2025
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Merged (Main)

Development

Successfully merging this pull request may close these issues.

2 participants