Whamcloud - gitweb
LU-14514 flr: mirror split should not make stale file
authorBobi Jam <bobijam@whamcloud.com>
Thu, 2 Sep 2021 16:27:34 +0000 (00:27 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Wed, 19 Jan 2022 21:18:48 +0000 (21:18 +0000)
commitebeda3f866d61653cb791d4dae15ef407f611208
tree7241148639f71f73d55f5f336ffdfb0d02daa8cb
parent1dfbb3e64e23fcc7253cdb962f18541e38a86f7c
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.

Lustre-change: https://review.whamcloud.com/42024
Lustre-commit: 83c790cbf2f8f7452e1382051564af6f155b47cf

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