aboutsummaryrefslogtreecommitdiff
path: root/net/ceph
diff options
context:
space:
mode:
authorIlya Dryomov2020-11-11 14:16:45 +0100
committerIlya Dryomov2020-12-14 23:21:49 +0100
commitd3c1248cac2c07153ade346001dea001d8792479 (patch)
treea5e7581dca8df3313b52c24d1acc609ae756bd3e /net/ceph
parenta3da057bbdb769c01ab06626ace3de160d40e973 (diff)
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: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'net/ceph')
-rw-r--r--net/ceph/messenger.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/net/ceph/messenger.c b/net/ceph/messenger.c
index 1d4a51bf421c..a6d93280d3e9 100644
--- a/net/ceph/messenger.c
+++ b/net/ceph/messenger.c
@@ -2135,9 +2135,9 @@ 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",
- ENTITY_NAME(con->peer_name),
- ceph_pr_addr(&con->peer_addr));
+ pr_info("%s%lld %s session reset\n",
+ ENTITY_NAME(con->peer_name),
+ ceph_pr_addr(&con->peer_addr));
ceph_con_reset_session(con);
con_out_kvec_reset(con);
ret = prepare_write_connect(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);