]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Aug 2023 15:52:25 +0000 (17:52 +0200)
commit3a89f3bfbf533b89f74dea34e174081eca3381d4
treeb562bd376bc13e2a5aa0017b9447a83f61edb8ca
parentd92613aa43da68956a36503d17aa98a3e653d3a5
ceph: try to dump the msgs when decoding fails

[ Upstream commit 8b0da5c549ae63ba1debd92a350f90773cb4bfe7 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/ceph/mds_client.c