Whamcloud - gitweb
LU-13748 mdt: remove LASSERT in mdt_dump_lmm()
authorAndreas Dilger <adilger@whamcloud.com>
Tue, 4 Apr 2023 01:42:31 +0000 (19:42 -0600)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 19 Oct 2023 12:50:02 +0000 (12:50 +0000)
commit621b0f568487713a1f7bedd6e9a3fae73e672f82
tree5a9b1828de97c0e004d3d87e8f0b3d3a3aa02423
parentc22322cede6186b39e617d7a0ecfef3c41e0d1c5
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.

Lustre-change: https://review.whamcloud.com/50532
Lustre-commit: 97d29eb800e8d9faba04f0744376cb50b239e2e9

Test-Parameters: trivial
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I27f0b4489de48d6f197e0143589d76428d85e549
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52728
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/mdt/mdt_lib.c
lustre/tests/sanity.sh