]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
kclient: show outgoing msg seq #s
authorSage Weil <sage@newdream.net>
Thu, 1 May 2008 19:19:58 +0000 (12:19 -0700)
committerSage Weil <sage@newdream.net>
Thu, 1 May 2008 19:19:58 +0000 (12:19 -0700)
src/kernel/messenger.c

index 85556567d6586a48e4684fda738a71c631e140ef..005e99c28d2f8cbb49baa6a1ef6a397e6f75c74c 100644 (file)
@@ -1470,9 +1470,9 @@ int ceph_msg_send(struct ceph_messenger *msgr, struct ceph_msg *msg,
        /* queue */
        spin_lock(&con->out_queue_lock);
        msg->hdr.seq = cpu_to_le64(++con->out_seq);
-       dout(1, "----- %p to %s%d %d=%s len %d+%d -----\n", msg,
-            ENTITY_NAME(msg->hdr.dst.name),
-            le32_to_cpu(msg->hdr.type),
+       dout(1, "----- %p %u to %s%d %d=%s len %d+%d -----\n", msg,
+            (unsigned)con->out_seq,
+            ENTITY_NAME(msg->hdr.dst.name), le32_to_cpu(msg->hdr.type),
             ceph_msg_type_name(le32_to_cpu(msg->hdr.type)),
             le32_to_cpu(msg->hdr.front_len),
             le32_to_cpu(msg->hdr.data_len));