Whamcloud - gitweb
LU-12328 flr: preserve last read mirror 11/35111/2
authorJinshan Xiong <jinshan.xiong@uber.com>
Sat, 8 Jun 2019 05:34:03 +0000 (22:34 -0700)
committerOleg Drokin <green@whamcloud.com>
Sun, 7 Jul 2019 15:15:58 +0000 (15:15 +0000)
commit810f2a5fef577b4f0f6a58ab234cf29afd96c748
treecb83c4c275a31d17e1b18af55d5271daab59c3e7
parent2b5b551b15d96588f8f309b5a08c11cab203efeb
LU-12328 flr: preserve last read mirror

This patch preserves the mirror that has been read successfully
so that all subsequent I/O can take this advantage it and avoid
trying to read unavailable OSTs.

Signed-off-by: Jinshan Xiong <jinshan.xiong@gmail.com>
Change-Id: I806f936340db7c73228048edf21d5ecbed4b3c6c
Reviewed-on: https://review.whamcloud.com/35111
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/lov/lov_cl_internal.h
lustre/lov/lov_io.c
lustre/lov/lov_object.c