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/rdma: fix disconnect log line #12254

Merged
merged 1 commit into from Dec 1, 2016
Merged

Conversation

Adirl
Copy link

@Adirl Adirl commented Dec 1, 2016

Signed-off-by: Adir Lev adirl@mellanox.com

@Adirl
Copy link
Author

Adirl commented Dec 1, 2016

@yuyuyu101 see PR

@@ -335,7 +335,9 @@ int Infiniband::recv_msg(CephContext *cct, int sd, IBSYNMsg& im)
r = -errno;
lderr(cct) << __func__ << " got error " << errno << ": "
<< cpp_strerror(errno) << dendl;
} else if ((size_t)r != sizeof(msg)) { // valid message length
} else if (r == 0){ // valid disconnect message of length 0
Copy link
Member

Choose a reason for hiding this comment

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

minor: } else if (r == 0) {

space between "(" and "{"

@yuyuyu101
Copy link
Member

@Adirl hmm, plz squash these two commits... then we can merge

@Adirl
Copy link
Author

Adirl commented Dec 1, 2016

Done

issue: none

Change-Id: I29e2a6ae78dda3cf4a1817b9ab41bea0f636bda5
Signed-off-by: Adir Lev <adirl@mellanox.com>
@Adirl
Copy link
Author

Adirl commented Dec 1, 2016

@yuyuyu101
Ooops, now should be OK

@yuyuyu101 yuyuyu101 merged commit 6d752bd into ceph:master Dec 1, 2016
@Adirl Adirl deleted the disconnect_log branch April 18, 2017 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants