Whamcloud - gitweb
LU-13748 mdt: remove LASSERT in mdt_dump_lmm() 32/50532/10
authorAndreas Dilger <adilger@whamcloud.com>
Tue, 4 Apr 2023 01:42:31 +0000 (19:42 -0600)
committerOleg Drokin <green@whamcloud.com>
Fri, 19 May 2023 07:07:09 +0000 (07:07 +0000)
commit97d29eb800e8d9faba04f0744376cb50b239e2e9
tree1aa5b275114a8a50dbaa834ecba6e0abdec82014
parent0d676d41b3d5cc1f590da6f7037b993e03132b5f
LU-13748 mdt: remove LASSERT in mdt_dump_lmm()

Change LASSERT() in mdt_dump_lmm() into a CERROR(), since this
function is normally used for debugging and it doesn't help to
crash the MDS just when it complaining about some file layout.

Add sanity test_27Cg that triggered this initially.

Test-Parameters: trivial
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I27f0b4489de48d6f197e0143589d76428d85e549
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50532
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-by: Vitaliy Kuznetsov <vkuznetsov@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdt/mdt_lib.c
lustre/tests/sanity.sh