Whamcloud - gitweb
LU-9771 flr: lfs mirror resync command 43/29243/24
authorBobi Jam <bobijam.xu@intel.com>
Sat, 14 Oct 2017 07:49:27 +0000 (00:49 -0700)
committerJinshan Xiong <jinshan.xiong@intel.com>
Sat, 25 Nov 2017 17:58:31 +0000 (17:58 +0000)
commit79da3738df220b2ea055098aaa3aaba59934616e
tree2c9cff550342a155dcecfb17ca2cde07e9b7d356
parent9e8f2486aa5cf3c908ef5772d941fcc73ac7275b
LU-9771 flr: lfs mirror resync command

This patch adds "lfs mirror resync" command to resynchronize a
mirrored file.

Usage:

lfs mirror resync [--only <mirror_id[,...]>] <mirrored file>

Options:

--only <mirror_id[,...]>
Indicates which mirror(s) specified by mirror_id(s) needs to
be resynchronized. The mirror_id is the numerical unique
identifier for a mirror. Multiple mirror_ids are separated
by comma.

Test-Parameters: testlist=sanity-flr
Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Change-Id: Ic2aa474d1023a4364aa9d90c59120b1d5c89a269
Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-on: https://review.whamcloud.com/29243
Tested-by: Jenkins
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/include/lustre/lustreapi.h
lustre/lod/lod_object.c
lustre/tests/mirror_io.c
lustre/tests/sanity-flr.sh
lustre/utils/lfs.c
lustre/utils/liblustreapi.c
lustre/utils/liblustreapi_layout.c
lustre/utils/liblustreapi_lease.c