Commit d3c1248c authored by Ilya Dryomov's avatar Ilya Dryomov
Browse files

libceph: remove redundant session reset log message



Stick with pr_info message because session reset isn't an error most of
the time.  When it is (i.e. if the server denies the reconnect attempt),
we get a bunch of other pr_err messages.

Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
parent a3da057b
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -2135,7 +2135,7 @@ static int process_connect(struct ceph_connection *con)
		 */
		dout("process_connect got RESET peer seq %u\n",
		     le32_to_cpu(con->in_reply.connect_seq));
		pr_err("%s%lld %s connection reset\n",
		pr_info("%s%lld %s session reset\n",
			ENTITY_NAME(con->peer_name),
			ceph_pr_addr(&con->peer_addr));
		ceph_con_reset_session(con);
@@ -2147,7 +2147,6 @@ static int process_connect(struct ceph_connection *con)

		/* Tell ceph about it. */
		mutex_unlock(&con->mutex);
		pr_info("reset on %s%lld\n", ENTITY_NAME(con->peer_name));
		if (con->ops->peer_reset)
			con->ops->peer_reset(con);
		mutex_lock(&con->mutex);