Whamcloud - gitweb
LU-7558 import: don't reconnect during connect interpret 12/19312/2
authorMikhal Pershin <mike.pershin@intel.com>
Mon, 4 Apr 2016 10:56:35 +0000 (13:56 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 2 May 2016 23:56:22 +0000 (23:56 +0000)
commitd10320bafdb942a8dbc5a8ba9176873134a5ffa3
tree23aee9d3a0f2f1395cc0ef909190a92701c9e444
parent51d9874087a87a9a616615adc98f6239ebd8619d
LU-7558 import: don't reconnect during connect interpret

The import connect flags might be cleared by ptlrpc_connect_import()
wrongly if there is still connect interpret function is running.

Use imp_connected boolean variable to indicate that we are still
interpretting connect reply and don't try to reconnect until it ends.

Signed-off-by: Mikhal Pershin <mike.pershin@intel.com>
Change-Id: I77cf70820835dc06b33a75353c8ef71ba4ed4fad
Reviewed-on: http://review.whamcloud.com/19312
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lustre_import.h
lustre/ptlrpc/import.c