ceph: try to dump the msgs when decoding fails
authorXiubo Li <xiubli@redhat.com>
Thu, 18 May 2023 01:40:14 +0000 (09:40 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 30 Jun 2023 10:08:54 +0000 (12:08 +0200)
commit8b0da5c549ae63ba1debd92a350f90773cb4bfe7
tree594c82c1825b48f68ee3e88e9cae45676459921a
parentf7c2f4f6ce16fb58f7d024f3e1b40023c4b43ff9
ceph: try to dump the msgs when decoding fails

When the msgs are corrupted we need to dump them and then it will
be easier to dig what has happened and where the issue is.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/mds_client.c