Whamcloud - gitweb
LU-5107 osp: only check FID for OSP connecting to OST 76/10476/4
authorwang di <di.wang@intel.com>
Wed, 28 May 2014 12:14:54 +0000 (05:14 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 30 May 2014 18:10:41 +0000 (18:10 +0000)
commit5e1cedd57f49cdd9ad5db680ec03396d10c58574
tree7d379471552694202861c6fcecd5f6fcad5c673e
parent8bec7c3995e6207a192575d2be613ffed25d929c
LU-5107 osp: only check FID for OSP connecting to OST

The backport of http://review.whamcloud.com/8997 to b2_5
(commit ed82a26746d22) didn't need MDT OSPs to allocate FIDs.
The call to osp_prepare_fid_client(d) should be moved after
the check if the OSP connecting to OST, because only such OSP
will intialize its FID client.

Test-Parameters: mdtcount=2 mdscount=2 testlist=sanity
Signed-off-by: wang di <di.wang@intel.com>
Change-Id: I0306a086d9274d520aa43b82ccdb39966ef2ae97
Reviewed-on: http://review.whamcloud.com/10476
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/osp/osp_dev.c