]> git.baikalelectronics.ru Git - kernel.git/commit
libceph: dump osdmap and enhance output on decode errors
authorIlya Dryomov <ilya.dryomov@inktank.com>
Thu, 13 Mar 2014 14:36:13 +0000 (16:36 +0200)
committerSage Weil <sage@inktank.com>
Sat, 5 Apr 2014 04:07:35 +0000 (21:07 -0700)
commit8e3265a2cd988d35e52ddacf3fff20aa97924def
tree6ae457c41c74f0c4f7578d0112300f3e159fdbbf
parent45ccc8529f1bb006caf6604b0c045fa7c1812221
libceph: dump osdmap and enhance output on decode errors

Dump osdmap in hex on both full and incremental decode errors, to make
it easier to match the contents with error offset.  dout() map epoch
and max_osd value on success.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Alex Elder <elder@linaro.org>
net/ceph/osdmap.c