Whamcloud - gitweb
LU-4855 fld: refer to MDT0 for fld lookup in some cases 80/11780/2
authorwang di <di.wang@intel.com>
Wed, 2 Apr 2014 16:57:00 +0000 (09:57 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 2 Oct 2014 04:21:00 +0000 (04:21 +0000)
commit7bd72a795db25abe5facff21169fbe5154d4cc6d
tree0e14cdfe60064c32ae5cf2148c6d35c7e09068ce
parentf3fedc4c816777e9ff65ca9b423c33c0920d2dd6
LU-4855 fld: refer to MDT0 for fld lookup in some cases

It is possible that when fld client is trying to lookup seq
on one of MDT, but the connection between the client and the MDT
is not being initialized yet, especially during striped dir creation,
because client will only send create req to the master MDT, then
master MDT will distribute the operation to all of other MDT, instead
of client distributing these requests, which will usually trigger
the connection.

In this case, we will send the fld request to MDT0, since it has
all of location information.

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: I577ada2a782ecbdc863d05e8d007c0914a1e7837
Reviewed-on: http://review.whamcloud.com/9877
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Reviewed-on: http://review.whamcloud.com/11780
lustre/fld/fld_request.c