Whamcloud - gitweb
LU-4855 fld: refer to MDT0 for fld lookup in some cases 77/9877/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, 24 Apr 2014 03:56:31 +0000 (03:56 +0000)
commite81235969430cd05feb10eb59d00f93448c7c0d9
tree7a748ad8d7295e98cc1e9b30ec148e76afb29ce8
parente217648d50da55366ef819e78bb8d7601a109077
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>
lustre/fld/fld_request.c