mirror of
https://github.com/ceph/ceph
synced 2025-02-21 09:57:26 +00:00
osd/Watch: slightly more informative debug output
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
4943a55528
commit
8166042a28
@ -360,10 +360,10 @@ void Watch::got_ping(utime_t t)
|
||||
void Watch::connect(ConnectionRef con, bool _will_ping)
|
||||
{
|
||||
if (conn == con) {
|
||||
dout(10) << "connecting - already connected" << dendl;
|
||||
dout(10) << __func__ << " con " << con << " - already connected" << dendl;
|
||||
return;
|
||||
}
|
||||
dout(10) << "connecting" << dendl;
|
||||
dout(10) << __func__ << " con " << con << dendl;
|
||||
conn = con;
|
||||
will_ping = _will_ping;
|
||||
OSD::Session* sessionref(static_cast<OSD::Session*>(con->get_priv()));
|
||||
@ -386,7 +386,7 @@ void Watch::connect(ConnectionRef con, bool _will_ping)
|
||||
|
||||
void Watch::disconnect()
|
||||
{
|
||||
dout(10) << "disconnect" << dendl;
|
||||
dout(10) << "disconnect (con was " << conn << ")" << dendl;
|
||||
conn = ConnectionRef();
|
||||
if (!will_ping)
|
||||
register_cb();
|
||||
|
Loading…
Reference in New Issue
Block a user