Whamcloud - gitweb
LU-16873 osd: update OI_Scrub file with new magic 26/51226/2
authorAlexander Zarochentsev <alexander.zarochentsev@hpe.com>
Sun, 28 May 2023 12:42:27 +0000 (08:42 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 14 Jun 2023 21:41:49 +0000 (21:41 +0000)
commit38b7c408212f60d684c9b114d90b4514e0044ffe
treeb98f91d12f8e53e57354fe547f0f7b32bedcd39c
parent0109865363bf5da415f191cd74e9b5f737888547
LU-16873 osd: update OI_Scrub file with new magic

The fix for LUS-11542 detects the format change correctly
but does not write new oi scrub file magic, so new mount
triggers the "oi files counter reset" again and again.

Fixes: 126275ba83 ("LU-16655 scrub: upgrade scrub_file from 2.12 format")
HPE-bug-id: LUS-11646
Signed-off-by: Alexander Zarochentsev <alexander.zarochentsev@hpe.com>
Change-Id: Ia13fcfaf0d8f2c4ee9331dd9fec0ff159d195186
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51226
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Andrew Perepechko <andrew.perepechko@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/obdclass/scrub.c
lustre/osd-ldiskfs/osd_oi.c