Whamcloud - gitweb
LU-631 osc: wait OSC to complete initial connection with OST
authorHongchao Zhang <hongchao.zhang@intel.com>
Mon, 8 Apr 2013 02:49:09 +0000 (10:49 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 25 Apr 2013 17:12:13 +0000 (13:12 -0400)
commit6c3c5c7b6c8f6ecde5fc878f857b0aa0b4fd694f
treefad031df394a439fa12c34cd818a8258e25d3ba4
parent73579e098d643cba79660d53bb30f81cc1cab328
LU-631 osc: wait OSC to complete initial connection with OST

in functions lov_prep_*_set, if one OSC isn't active and it is trying
its first connection with OST, then spend some time (obd_timeout)
to wait it to complete.

Change-Id: I424dbf81b6ceebf2cfd1cf48b0f89be40c4c3df4
Signed-off-by: Hongchao Zhang <hongchao.zhang@intel.com>
Reviewed-on: http://review.whamcloud.com/2469
Tested-by: Hudson
Reviewed-by: Fan Yong <fan.yong@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Jeremy Filizetti <jeremy.filizetti@gmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/include/lustre_import.h
lustre/lov/lov_internal.h
lustre/lov/lov_request.c
lustre/ptlrpc/import.c