]> Pileus Git - ~andy/linux/commit
libceph: print more info for short message header
authorAlex Elder <elder@inktank.com>
Wed, 29 May 2013 16:19:00 +0000 (11:19 -0500)
committerSage Weil <sage@inktank.com>
Wed, 3 Jul 2013 22:32:40 +0000 (15:32 -0700)
commit4974341eb99861720d54db9337bf1fe78eb8b9d0
tree7f6a6d03c26f45251823b7e38320c6891a070952
parent08f75463c15e26e9d67a7c992ce7dd8964c6cbdd
libceph: print more info for short message header

If an osd client response message arrives that has a front section
that's too big for the buffer set aside to receive it, a warning
gets reported and a new buffer is allocated.

The warning says nothing about which connection had the problem.
Add the peer type and number to what gets reported, to be a bit more
informative.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
net/ceph/osd_client.c