]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit38a8d560231b45489d5b12f5c7d0edfba94e1f30
tree6ae457c41c74f0c4f7578d0112300f3e159fdbbf
parent1c00240e007d14d3242fa490b50166b4f1b2770a
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