Whamcloud - gitweb
LU-14098 obdclass: try to skip corrupted llog records
authorAlex Zhuravlev <bzzz@whamcloud.com>
Mon, 17 Oct 2022 19:31:56 +0000 (12:31 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 27 Oct 2022 03:15:48 +0000 (03:15 +0000)
commit452d2320d57375dbc010aa24e1c69ae95b76bfbc
tree648555920c2525afe6591f20fbf28d231f56cfb3
parentf768edf9d8bb9e1b04698f0125c48670ba426d7b
LU-14098 obdclass: try to skip corrupted llog records

if llog's header or record is found corrupted, then
ignore the remaining records and try with the next one.

Lustre-change: https://review.whamcloud.com/40754
Lustre-commit: 910eb97c1b43a44a9da2ae14c3b83e28ca6342fc

Fixes: 186f083722 ("LU-11924 osp: combine llog cancel operations")

Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: If47ec1fc1e2eaf64be7ba08d3aa9c2b93903c0cf
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Mike Pershin <mpershin@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/48893
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/obdclass/llog_cat.c