crimson/osd: submit_error_log cleanup#54765
Conversation
cyx1231st
left a comment
There was a problem hiding this comment.
Make check is failed due to compile issue.
| return seastar::now(); | ||
| }); | ||
| } | ||
| } |
There was a problem hiding this comment.
Looks this logic/effort is moved from the concurrent wait_repop stage into the exclusive process stage, is it intentional?
If it isn't intentional, probably leaving it in the concurrent wait_repop phase is better than in the exclusive phase from performance perspective.
Or probably it doesn't matter because it isn't supposed to be frequent, what do you think?
There was a problem hiding this comment.
I'm inclined to move it into the exclusive stage. This path shouldn't be too frequent and I think that it'll be better to avoid completing the write (by calling PeeringState::complete_write) in the concurrent stage.
There was a problem hiding this comment.
Worth adding this impact to the commit message.
There was a problem hiding this comment.
This path shouldn't be too frequent and I think that it'll be better to avoid completing the write (by calling PeeringState::complete_write) in the concurrent stage.
Reasonable to me. Just thinking that probably it is structurally better to keep log_update.all_committed.get_shared_future() in the concurrent wait_repop phase, and keep PeeringState::complete_write in the next exclusive send_reply phase.
There was a problem hiding this comment.
Hmm, looks like in the normal path, PeeringState::complete_write is also called in the concurrent stage, see https://github.com/ceph/ceph/blob/ea54fcc13ebadbd23b2071701f9788e7d3a4ba8c/src/crimson/osd/pg.cc#L790C4-L790C34
There was a problem hiding this comment.
Reasonable to me. Just thinking that probably it is structurally better to keep
log_update.all_committed.get_shared_future()in the concurrent wait_repop phase, and keepPeeringState::complete_writein the next exclusive send_reply phase.
I moved the helper method to be executed in the concurrent stage.
2d74327 to
fbb1b6d
Compare
cyx1231st
left a comment
There was a problem hiding this comment.
make check is failed by /home/jenkins-build/build/workspace/ceph-pull-requests/src/crimson/osd/pg.cc:914:10: error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture]
Others seem good to me.
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
fbb1b6d to
645c0d9
Compare
645c0d9 to
2d98d31
Compare
2d98d31 to
6dd1c1b
Compare
6dd1c1b to
1c5db6b
Compare
|
jenkins test docs |
1c5db6b to
4e7913c
Compare
std::move to the only user instead Signed-off-by: Matan Breizman <mbreizma@redhat.com>
* error log completion logic is moved into maybe_submit_error_log * renamed it and it2 * maybe_submit_error_log is moved outside of failure_func * failure_func no longer gets rep_tid and record_error params * log_entry_version is removed, submit_error_log returns the version instead Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
4e7913c to
4997ead
Compare
|
jenkins test api |
Following: #54287
https://pulpito.ceph.com/matan-2023-12-04_08:39:13-crimson-rados-wip-matanb-crimson-submit-error-cleanup-testing-distro-crimson-smithi/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
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windowsjenkins test rook e2e