]> git.baikalelectronics.ru Git - kernel.git/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)
commit326dc9e082d212ff2c57cca2ddc2ce7eb51f59a6
tree7f6a6d03c26f45251823b7e38320c6891a070952
parentc4c8524bb00e1f1809b9e02b86e8c4ae332132e2
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