Whamcloud - gitweb
LU-10550 flr: resync RDONLY state FLR file 10/31010/8
authorBobi Jam <bobijam.xu@intel.com>
Wed, 24 Jan 2018 15:32:37 +0000 (23:32 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 27 Feb 2018 03:41:57 +0000 (03:41 +0000)
commit2112eb46be83a20bc3ea36f3d17249a1b4bf2327
tree3784e8b9f52f63bbdf20231a21da2c74aa1771e4
parent6ea9171769db602b3a2b34419bdafacd38454cb4
LU-10550 flr: resync RDONLY state FLR file

When some components are failed to resync due to various reasons,
those components will still have STALE bit set but the file statue may
become to RDONLY.

This patch makes resync RDONLY FLR file possible.

Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Change-Id: I2e3b518bb969aedd7f214e6b09b895079cab69ab
Reviewed-on: https://review.whamcloud.com/31010
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/lod/lod_object.c
lustre/mdd/mdd_object.c
lustre/mdt/mdt_open.c
lustre/mdt/mdt_reint.c
lustre/tests/sanity-flr.sh
lustre/utils/lfs.c