Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osdc/Objecter: resend pg commands on interval change #12869

Merged
merged 2 commits into from Jan 12, 2017

Conversation

athanatos
Copy link
Contributor

No description provided.

@athanatos
Copy link
Contributor Author

Trying to get make check to run.

@athanatos
Copy link
Contributor Author

retest this please

@athanatos athanatos force-pushed the wip-18358 branch 5 times, most recently from e77648b to 06d3d19 Compare January 11, 2017 19:42
@athanatos athanatos changed the title DNM: Wip 18358 Wip 18358 Jan 12, 2017
@@ -1296,7 +1296,7 @@ void Objecter::handle_osd_map(MOSDMap *m)
p != need_resend_linger.end(); ++p) {
LingerOp *op = *p;
if (!op->session) {
_calc_target(&op->target, &op->last_force_resend);
_calc_target(&op->target);
Copy link
Member

Choose a reason for hiding this comment

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

this hunk goes in the previous patch?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah, yeah

@liewegas liewegas changed the title Wip 18358 osdc/Objecter: resend pg commands on interval change Jan 12, 2017
Copy link
Member

@liewegas liewegas left a comment

Choose a reason for hiding this comment

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

lgtm aside from that one hunk

It's always passed along with op_target_t, this seems simpler.

Signed-off-by: Samuel Just <sjust@redhat.com>
mark_lost_unfound* are now async since the rework, so we need
the Objecter to be able to resend on interval change.  This
is preferable to somehow requeueing the Command because they
don't use the normal op queue.

Fixes: http://tracker.ceph.com/issues/18358
Signed-off-by: Samuel Just <sjust@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants