Whamcloud - gitweb
LU-13061 osp: check catlog FID after reading in 98/36998/4
authorHongchao Zhang <hongchao@whamcloud.com>
Thu, 19 Dec 2019 02:52:29 +0000 (21:52 -0500)
committerOleg Drokin <green@whamcloud.com>
Fri, 10 Jan 2020 07:40:24 +0000 (07:40 +0000)
commit4597fa7d884de0f1a1b030052d4d34983fed6109
treeb97eb67c8823e654258ce3a9ddc9dc2cb0b27913
parentf765c6ceb8a4a2415a7956498f7fdaefa477ba55
LU-13061 osp: check catlog FID after reading in

In osp_sync_llog_init, the catlog FID read from "CATALOGS"
should be checked whether it is sane or not.

Change-Id: I4342b21b7d5c6d408a9ab52a1e30815ae1d5f563
Signed-off-by: Hongchao Zhang <hongchao@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/36998
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/include/obd_support.h
lustre/osp/osp_sync.c
lustre/tests/recovery-small.sh