Whamcloud - gitweb
LU-14514 flr: mirror split should not make stale file 24/42024/23
authorBobi Jam <bobijam@whamcloud.com>
Thu, 2 Sep 2021 16:27:34 +0000 (00:27 +0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 13 Dec 2021 03:52:09 +0000 (03:52 +0000)
commit83c790cbf2f8f7452e1382051564af6f155b47cf
tree060caa208a7b0fc9d1c75faef4a83f6fccfb1c01
parentcf6ce3329f92f146206be8b63846d2c6e45c92d6
LU-14514 flr: mirror split should not make stale file

Mirror split could leave an all stale mirrors file, this patch
prevent removing the last non-stale mirror from the file.

Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: I63007784929a2cd18d2823e2250f7307ca7d8d45
Reviewed-on: https://review.whamcloud.com/42024
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/lod/lod_internal.h
lustre/lod/lod_lov.c
lustre/lod/lod_object.c
lustre/tests/sanity-flr.sh