Whamcloud - gitweb
LU-10916 lfs: improve lfs mirror resync 08/32808/4
authorBobi Jam <bobijam@whamcloud.com>
Wed, 11 Jul 2018 16:24:27 +0000 (10:24 -0600)
committerOleg Drokin <green@whamcloud.com>
Mon, 6 Aug 2018 14:36:02 +0000 (14:36 +0000)
commit0e5c12ac29a9622e8ca05d5e39cd5e2a721ace93
tree160f403239d4b923fa2825a3e2fa493c6e5ade6d
parent430b8a906fe3ac8faab6fb5fb1800bf252b36950
LU-10916 lfs: improve lfs mirror resync

Make mirror resync use read+write+write+... mode instead do the
resync on each stale mirror of a file separately (read+write,
read+write, ...).

Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: I627fa53fcfde4811b2cd9c84c8545defe151206c
Reviewed-on: https://review.whamcloud.com/32808
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre/lustreapi.h
lustre/tests/mirror_io.c
lustre/utils/lfs.c
lustre/utils/liblustreapi_layout.c
lustre/utils/liblustreapi_mirror.c