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

msg/async: misc cleanup. #18575

Merged
merged 3 commits into from Nov 1, 2017
Merged

msg/async: misc cleanup. #18575

merged 3 commits into from Nov 1, 2017

Conversation

majianpeng
Copy link
Member

No description provided.

@majianpeng majianpeng changed the title Msg misc cleanup. Msg/async misc cleanup. Oct 27, 2017
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Now DelayedDelivery is a timer rather than a thread. So there is no case
be called ahead.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
@@ -138,7 +138,6 @@ AsyncConnection::AsyncConnection(CephContext *cct, AsyncMessenger *m, DispatchQu
write_handler = new C_handle_write(this);
wakeup_handler = new C_time_wakeup(this);
tick_handler = new C_tick_wakeup(this);
memset(msgvec, 0, sizeof(msgvec));
Copy link
Member

Choose a reason for hiding this comment

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

I don't like this cleaning, memset call isn't expensive in this path and zeroed memory will be good for other debug purpose

Copy link
Member Author

Choose a reason for hiding this comment

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

this parameter don,t use anymore now.

@tchaikov tchaikov changed the title Msg/async misc cleanup. msg/async: misc cleanup. Oct 31, 2017
@tchaikov tchaikov merged commit d07ba90 into ceph:master Nov 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants