Whamcloud - gitweb
LU-13061 osp: check catlog FID after reading in 85/37185/3
authorHongchao Zhang <hongchao@whamcloud.com>
Thu, 19 Dec 2019 02:52:29 +0000 (21:52 -0500)
committerOleg Drokin <green@whamcloud.com>
Wed, 22 Jan 2020 02:25:39 +0000 (02:25 +0000)
commit055eab6bd4c29bc961a10824ffa44323cce7640c
treeb3330ba9bd0c3c2329e8546c62938268ae0d9f87
parent6db0c4f08225f5907318aa27970f42896d1da94f
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.

Lustre-change: https://review.whamcloud.com/36998
Lustre-commit: 4597fa7d884de0f1a1b030052d4d34983fed6109

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