Whamcloud - gitweb
LU-11400 flr: add 'nosync' flag for FLR mirrors 05/33205/6
authorBobi Jam <bobijam@whamcloud.com>
Thu, 20 Sep 2018 07:50:45 +0000 (15:50 +0800)
committerOleg Drokin <green@whamcloud.com>
Fri, 5 Oct 2018 22:27:45 +0000 (22:27 +0000)
commit8a0554450eaaf86acbc9b6a4c8228dc32ab71b19
tree50bdbc3836108f57d6160a150e8017c747f92f5e
parentf63366a3c285971b31f317e5b93650c058bbbbf4
LU-11400 flr: add 'nosync' flag for FLR mirrors

This patch allows 'nosync' flag to be set for FLR mirror components,
which makes lfs mirror resync skip on mirrors with this flag unless
mirror resync explicitly requested those mirrors to be resync.

This flag can be cleared by set '^nosync' on any component of the
mirror.

Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: I209ad91fd9a96d82f8c83a3eb047f665ef4ccf86
Reviewed-on: https://review.whamcloud.com/33205
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
19 files changed:
lustre/doc/lfs-getstripe.1
lustre/doc/lfs-mirror-resync.1
lustre/doc/lfs-setstripe.1
lustre/include/lustre/lustreapi.h
lustre/include/uapi/linux/lustre/lustre_user.h
lustre/lod/lod_internal.h
lustre/lod/lod_lov.c
lustre/lod/lod_object.c
lustre/lod/lod_qos.c
lustre/lov/lov_ea.c
lustre/lov/lov_internal.h
lustre/lov/lov_pack.c
lustre/ptlrpc/pack_generic.c
lustre/ptlrpc/wiretest.c
lustre/tests/sanity-flr.sh
lustre/utils/liblustreapi.c
lustre/utils/liblustreapi_layout.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c