Whamcloud - gitweb
LU-16873 osd: update OI_Scrub file with new magic 25/51525/2
authorAlexander Zarochentsev <alexander.zarochentsev@hpe.com>
Sun, 28 May 2023 12:42:27 +0000 (08:42 -0400)
committerOleg Drokin <green@whamcloud.com>
Thu, 19 Oct 2023 13:46:38 +0000 (13:46 +0000)
commit703d8a994bf33ac07f8bd4c956880db3d9abb016
tree7ad11628e856f44579c09a31130c09574ecf4f17
parent8299b3fd77ebcc372b5d929eaa08231fc703c431
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.

Lustre-change: https://review.whamcloud.com/51226
Lustre-commit: 38b7c408212f60d684c9b114d90b4514e0044ffe

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-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Andrew Perepechko <andrew.perepechko@hpe.com>
Signed-off-by: Etienne AUJAMES <eaujames@ddn.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51525
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/obdclass/scrub.c
lustre/osd-ldiskfs/osd_oi.c