staging: lustre: recovery: don't skip open replay on reconnect
commitb44c295dba07da4b235a1bb9281e525b4fbb8263
authorNiu Yawei <yawei.niu@intel.com>
Thu, 27 Oct 2016 22:11:54 +0000 (27 18:11 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 30 Oct 2016 15:00:12 +0000 (30 11:00 -0400)
treede0782b69bc7d45d5c312b9cbbc1dda6cb4af137
parentc2242d14234a3f68d6ee326d155c8771dc2c6aa8
staging: lustre: recovery: don't skip open replay on reconnect

Once reconnect happened during replay, we'd continue the open
replay with the last failed replay, but not the next.

Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6802
Reviewed-on: http://review.whamcloud.com/15871
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Hongchao Zhang <hongchao.zhang@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ptlrpc/recover.c