Whamcloud - gitweb
LU-6713 lmv: lock necessary part of lmv_add_target 69/15269/5
authorwang di <di.wang@intel.com>
Thu, 11 Jun 2015 15:01:07 +0000 (08:01 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 27 Jul 2015 19:06:05 +0000 (19:06 +0000)
commit1670c57315340db997c9058950148a05634f43f1
tree98f693dca75e8bf0a674a57109cade50ea321eaf
parent3daba43a191a0a2c9358d39b3f48b1b759a41819
LU-6713 lmv: lock necessary part of lmv_add_target

Release lmv_init_mutex once the new target is added
into lmv_tgt_desc, so lmv_obd_connect will not be
serialized.

New target should be allowed to added to fld client
lists, so FLD can always choose new added target to
do the FLD lookup request, and also remove some noise
error messages in this process.

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: I1aa2e31108f2da672b41e2a5c1c544605328ceea
Reviewed-on: http://review.whamcloud.com/15269
Tested-by: Jenkins
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/fld/fld_internal.h
lustre/fld/fld_request.c
lustre/include/lustre_fld.h
lustre/lmv/lmv_obd.c