Merge PR #19767 into master

* refs/pull/19767/head:
	client: enhance log for _closed_mds_session

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
This commit is contained in:
Patrick Donnelly 2018-01-09 16:55:45 -08:00
commit 1bb91f41f5
No known key found for this signature in database
GPG Key ID: 3A2A7E25BEA8AADB

View File

@ -2026,6 +2026,7 @@ void Client::_close_mds_session(MetaSession *s)
void Client::_closed_mds_session(MetaSession *s)
{
ldout(cct, 5) << __func__ << " mds." << s->mds_num << " seq " << s->seq << dendl;
s->state = MetaSession::STATE_CLOSED;
s->con->mark_down();
signal_context_list(s->waiting_for_open);