libceph: include middle_len in process_message() dout
authorIlya Dryomov <idryomov@gmail.com>
Thu, 5 Nov 2020 14:01:53 +0000 (15:01 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 14 Dec 2020 22:21:48 +0000 (23:21 +0100)
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
net/ceph/messenger.c

index af0f1fa..214ae2d 100644 (file)
@@ -2528,12 +2528,13 @@ static void process_message(struct ceph_connection *con)
        con->in_seq++;
        mutex_unlock(&con->mutex);
 
-       dout("===== %p %llu from %s%lld %d=%s len %d+%d (%u %u %u) =====\n",
+       dout("===== %p %llu from %s%lld %d=%s len %d+%d+%d (%u %u %u) =====\n",
             msg, le64_to_cpu(msg->hdr.seq),
             ENTITY_NAME(msg->hdr.src),
             le16_to_cpu(msg->hdr.type),
             ceph_msg_type_name(le16_to_cpu(msg->hdr.type)),
             le32_to_cpu(msg->hdr.front_len),
+            le32_to_cpu(msg->hdr.middle_len),
             le32_to_cpu(msg->hdr.data_len),
             con->in_front_crc, con->in_middle_crc, con->in_data_crc);
        con->ops->dispatch(con, msg);